-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[Connector/Spanmetrics] Spanmetrics connector producing high datapoints ingestion rate to backend victoria metrics #35449
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@VijayPatil872 You can check the |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
To add to what @Frapschen already mentioned, I suspect it's an 🍎 to 🍊 comparison due to the configuration of dimensions and resource attributes. I would also check to make sure tempo (and the metric generator) isn't dropping traces which could reduce counts etc. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@VijayPatil872 Could you provide more details about your metrics? This will help us diagnose your problem more effectively. |
I had the same problem using the
So probably you're producing high datapoints because your metric writing flow is duplicating timeseries. |
Component(s)
connector/spanmetrics
What happened?
Description
Currently we are making use of
spanmetrics connectors
for generating metrics. we observed high volume of metrics being generated with spanmetrics connector. It causes high datapoints ingestion to Victoria metrics backend. To test it we compared with tempo metrics generator. For testing we use same data pipelines on both parallelly, and we recorded performance with same query on spanmetrics connector as well as tempo metric generator. so, with tempo metric generator with "traces_spanmetrics_calls_total" metrics it produces 6706 results series whereas spanmetrics connector with "calls_total" metrics produces 13363 results series with same timestamp. Also, if we compare the data points ingestion to Victoria metrics backend so, in this case tempo metrics generator produces 7.18K mean whereas spanmetris connector produces 53.6K mean which is quite high. this datapoint ingestion is with 14.2K mean span rate received. so, in this case spanmetrics produces 16K mean metrics point rate. So, with this, is it we are missing any configuration? or is it some internal configuration needed?Steps to Reproduce
Expected Result
The metrics generation by spanmetrics connector should match with tempo metrics generator or it should near to what tempo metrics generator producing with same setup.
Actual Result
Span rate recieved

Metric points rate

Datapoints ingestion rate to victoria metrics

Collector version
0.104.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: