-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] Fix fields not being parsed correctly in postgresql/database #29051
[Metricbeat] Fix fields not being parsed correctly in postgresql/database #29051
Conversation
Pinging @elastic/integrations (Team:Integrations) |
description: > | ||
Time spent reading data file blocks by backends in this database, in | ||
milliseconds. | ||
- name: blocks.time.write.ms | ||
type: long | ||
type: double |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, double check if this change is problematic in a deployment with both versions of Metricbeat, we had recently some bad experiences with type changes that looked safe.
The kind of test you could do is:
- Install Metricbeat 7.15 and create a visualization using this field (even if it is zero).
- Double-check that you have a
metricbeat-*
index pattern where this field appears. - In the same deployment, update to Metricbeat with this fix, and check if there is any problem with the visualization or with the index pattern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah please double check here 😂 Not sure if it's the same case but I accidentally made a breaking change for changing field type from scaled float to long.
Should this also be backported to 7.16? |
This pull request is now in conflicts. Could you fix it? 🙏
|
1 similar comment
This pull request is now in conflicts. Could you fix it? 🙏
|
@sayden what should we do with this PR? |
This pull request does not have a backport label. Could you fix it @sayden? 🙏
NOTE: |
I removed the backport labels on this PR to make sure it doesn't get backported to any old branches by accident. We can add backport labels when this gets merged. |
For the PR itself, lets get this over the line as it is valuable fix. |
@kaiyan-sheng @jsoriano : |
@ishleenk17 looking to the comment history only some testing and the decision to backport was pending, change looks good and valuable for the rest. Not sure why this was closed. Feel free to take it over and complete it. |
@jsoriano and @ishleenk17 - Do we have any timelines for this?. |
@jsoriano and @ishleenk17 - Do we have any timelines for this?. |
@kush-elastic : Could you please share the latest on this ? |
I have started working on this. I will post the results of my findings soon. |
@PBoff and @ishleenk17, |
What does this PR do?
Fix
postgresql.database.blocks.time.read.ms
andpostgresql.database.blocks.time.write.ms
being captured and reported as along
instead ofdouble
thus not being reported at all.CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues