-
Notifications
You must be signed in to change notification settings - Fork 460
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
[Istio][Istiod Metrics]: Metrics are incorrectly dropped because of TSDS Dimension issue #11513
Comments
Looking at the history of: integrations/packages/istio/data_stream/istiod_metrics/elasticsearch/ingest_pipeline/default.yml Lines 23 to 26 in 42826c8
Added as part of the original PR #4253 It's not clear why this was added, I suspect that this could be removed, and this issue could be resolved. |
Looking at this a bit more closely, I'm not actually sure if this is a "bug" or intended. Using a more specific example:
These 2 events are almost identical, the only difference is that the event.duration value is different:
It'd seem really weird to add duration as a TSDS dimension, but that seems to be the only difference between these 2 events. I'm not sure if this should really be a "bug" that gets fixed, or left as is. |
Integration Name
Istio [istio]
Dataset Name
istio.istiod_metrics
Integration Version
0.6.0
Agent Version
8.14.3
Agent Output Type
logstash
Elasticsearch Version
8.15.3
OS Version and Architecture
Container
Software/API Version
Istio 1.23.1
Error Message
No response
Event Original
No response
What did you do?
I recently was looking into an issue and noticed that Logstash was reporting a high number of document conflicts with Istio.
What did you see?
Istio Metrics pipeline incorrectly overrides the
istio.istiod.labels.job
value and causes a high number of document conflicts.Here are 2 events that were considered "duplicates", but in reality, no events exist in Elastic that would have matched this if the
job
label wasn't overwritten from its original value.What did you expect to see?
I expect to see these documents properly ingested.
Anything else?
The issue appears that the Istio labels are used to generate a fingerprint:
integrations/packages/istio/data_stream/istiod_metrics/elasticsearch/ingest_pipeline/default.yml
Lines 31 to 34 in 42826c8
Which is then used as a TSDS dimension:
integrations/packages/istio/data_stream/istiod_metrics/fields/fields.yml
Lines 4 to 7 in 42826c8
The problem is, is that one of the key "dimension" labels is the
job
label, is always overwritten (before generating the fingerprint):integrations/packages/istio/data_stream/istiod_metrics/elasticsearch/ingest_pipeline/default.yml
Lines 23 to 26 in 42826c8
It's not clear why this value is overwritten in the first place, but with the change to TSDS and dimensions, it now seems to cause a high number of Istiod Metrics to be dropped.
The text was updated successfully, but these errors were encountered: