You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to leverage the maximum and minimum optional values that are part of the histogram data model. I can export the values from my program that is producing other metrics, but by the time the metrics get to the influx server maximum and minimum have been stripped from the data.
Steps to Reproduce
Add maximum and minimum recording to a histogram and export via OTLP to the OTEL Collector. In my case it was done like so:
"min" and "max" are in the values being submitted, like wise when I look at the logs coming out of my otel-collector below. However, by the time the results were then exported min and maximum were absent:
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 @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Component(s)
exporter/influxdb
What happened?
Description
I am attempting to leverage the maximum and minimum optional values that are part of the histogram data model. I can export the values from my program that is producing other metrics, but by the time the metrics get to the influx server maximum and minimum have been stripped from the data.
Steps to Reproduce
Add maximum and minimum recording to a histogram and export via OTLP to the OTEL Collector. In my case it was done like so:
This produced a packet that contained the following snipet:
{"attributes":[{"key":"status_code","value":{"stringValue":"200"}},{"key":"caller","value":{"stringValue":"unknown"}},{"key":"method","value":{"stringValue":"GET"}},{"key":"routeName","value":{"stringValue":"/v1/status"}}],"bucketCounts":[0,17,1,0,0,0,0,0,0,0,0],"explicitBounds":[0,5,10,25,50,75,100,250,500,1000],"count":18,"sum":31.246087999999997,"min":0.8881749999999999,"max":8.820832,"startTimeUnixNano":1670269851940438000,"timeUnixNano":1670269869661102600}]}}
"min" and "max" are in the values being submitted, like wise when I look at the logs coming out of my otel-collector below. However, by the time the results were then exported min and maximum were absent:
route,caller=unknown,environment=local,method=GET,otel.library.name=high-quality-engineering,project=high-quality-engineering,routeName=/v1/status,service_team=delta,status_code=200,tech_service=salt 0=0,50=0,sum=1607.1812599999964,25=0,75=0,250=0,500=0,count=2407,5=2406,100=0,10=1,1000=0 1670263155013154000
Expected Result
route,caller=unknown,environment=local,method=GET,otel.library.name=high-quality-engineering,project=high-quality-engineering,routeName=/v1/status,service_team=delta,status_code=200,tech_service=salt 0=0,50=0,sum=1607.1812599999964,25=0,75=0,250=0,500=0,count=2407,5=2406,100=0,10=1,1000=0,maximum=12345,minimum=1234,1670263155013154000
Actual Result
route,caller=unknown,environment=local,method=GET,otel.library.name=high-quality-engineering,project=high-quality-engineering,routeName=/v1/status,service_team=delta,status_code=200,tech_service=salt 0=0,50=0,sum=1607.1812599999964,25=0,75=0,250=0,500=0,count=2407,5=2406,100=0,10=1,1000=0 1670263155013154000
Collector version
0.64.1
Environment information
Environment
Running in docker, with the below docker-compose file:
version: "2"
services:
Collector
otel-collector:
image: otel/opentelemetry-collector-contri
command: ["--config=/etc/otel-collector-config.yaml", "${OTELCOL_ARGS}"]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "4318:4318" # OTLP http receiver
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: