Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Metricbeat][Postgresql][Database] Fix fields not being parsed correctly #37720

Merged
10 changes: 10 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
- Add option in SQL module to execute queries for all dbs. {pull}35688[35688]
- Add remaining dimensions for azure storage account to make them available for tsdb enablement. {pull}36331[36331]
- Add log error when statsd server fails to start {pull}36477[36477]
- Fix CassandraConnectionClosures metric configuration {pull}34742[34742]
- Fix event mapping implementation for statsd module {pull}36925[36925]
- The region and availability_zone ecs fields nested within the cloud field. {pull}37015[37015]
- Fix CPU and memory metrics collection from privileged process on Windows {issue}17314[17314]{pull}37027[37027]
- Enhanced Azure Metrics metricset with refined grouping logic and resolved duplication issues for TSDB compatibility {pull}36823[36823]
- Fix memory leak on Windows {issue}37142[37142] {pull}37171[37171]
kush-elastic marked this conversation as resolved.
Show resolved Hide resolved
- Fix unintended skip in metric collection on Azure Monitor {issue}37204[37204] {pull}37203[37203]
- Fix the "api-version query parameter (?api-version=) is required for all requests" error in Azure Billing. {pull}37158[37158]
- Add memory hard limit from container metadata and remove usage percentage in AWS Fargate. {pull}37194[37194]
- Fix fields not being parsed correctly in postgresql/database {issue}25301[25301] {pull}37720[37720]
- Fix Azure Resource Metrics missing metrics (min and max aggregations) after upgrade to 8.11.3 {issue}37642[37642] {pull}37643[37643]

*Osquerybeat*
Expand Down
4 changes: 2 additions & 2 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -56448,7 +56448,7 @@ type: long
Time spent reading data file blocks by backends in this database, in milliseconds.


type: long
type: double

--

Expand All @@ -56458,7 +56458,7 @@ type: long
Time spent writing data file blocks by backends in this database, in milliseconds.


type: long
type: double

--

Expand Down
4 changes: 2 additions & 2 deletions metricbeat/module/postgresql/database/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
that a read was not necessary (this only includes hits in the PostgreSQL
buffer cache, not the operating system's file system cache).
- name: blocks.time.read.ms
type: long
type: double
description: >
Time spent reading data file blocks by backends in this database, in
milliseconds.
- name: blocks.time.write.ms
type: long
type: double
description: >
Time spent writing data file blocks by backends in this database, in
milliseconds.
Expand Down
4 changes: 2 additions & 2 deletions metricbeat/module/postgresql/database/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ var schema = s.Schema{
"read": c.Int("blks_read"),
"hit": c.Int("blks_hit"),
"time": s.Object{
"read": s.Object{"ms": c.Int("blk_read_time")},
"write": s.Object{"ms": c.Int("blk_write_time")},
"read": s.Object{"ms": c.Float("blk_read_time")},
"write": s.Object{"ms": c.Float("blk_write_time")},
},
},
"rows": s.Object{
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/postgresql/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading