Skip to content

Commit d0a7588

Browse files
Increase top_sql timeout to 10s (#366)
Signed-off-by: Anders Swanson <[email protected]>
1 parent 4329431 commit d0a7588

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

collector/default_metrics.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ order by elapsed_time desc
131131
) where rownum <= 15
132132
'''
133133
ignorezeroresult = true
134+
querytimeout = "10s"
134135
# scrapeinterval = "5m"
135136
# The previous line is an example of changing the interval at which this one metric
136137
# will be scraped. You may wish to do this to scrape a metric less often, if the SQL

default-metrics.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ order by elapsed_time desc
131131
) where rownum <= 15
132132
'''
133133
ignorezeroresult = true
134+
querytimeout = "10s"
134135
# scrapeinterval = "5m"
135136
# The previous line is an example of changing the interval at which this one metric
136137
# will be scraped. You may wish to do this to scrape a metric less often, if the SQL

default-metrics.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ metrics:
129129
order by elapsed_time desc
130130
) where rownum <= 15
131131
ignorezeroresult: true
132+
querytimeout: "10s"
132133
# scrapeinterval: "5m"
133134

134135
- context: "cache_hit_ratio"

site/docs/releases/changelog.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@ List of upcoming and historic changes to the exporter.
99

1010
### Next, in-development
1111

12-
Our current priorities are support for Exadata metrics. We expect to address these in an upcoming release.
12+
Our current priorities to support metrics for advanced database features and use cases, like Exadata, GoldenGate, and views included in the Oracle Diagnostics Pack.
1313

1414
- Updated project dependencies.
15-
- Added metric label support for metrics using the `fieldtoappend` property. The default `wait_time` and `activity` use the `fieldtoappend` property.
15+
- Standardize multi-arch builds and document supported database versions.
16+
- Metrics with an empty databases array (`databases = []`) are now considered disabled, and will not be scraped.
17+
- Increased the default query timeout for the `top_sql` metric to 10 seconds (previously 5 seconds).
18+
- Metrics using the `fieldtoappend` property now support labels. The `wait_time` and `activity` default metrics use the `fieldtoappend` property, and now properly display their labels.
1619
- Fix `wait_time` default metric to work with Oracle Database 19c.
1720

1821
Thank you to the following people for their suggestions and contributions:
1922
- [@romankspb](https://github.com/romankspb)
23+
- [@muhammadabdullah-amjad](https://github.com/muhammadabdullah-amjad)
24+
- [@MansuyDavid](https://github.com/MansuyDavid)
25+
- [@borkoz](https://github.com/borkoz)
2026

2127
### Version 2.0.4, September 8, 2025
2228

0 commit comments

Comments
 (0)