When enabling OpenTelemetry.zioMetrics some of the metrics attributes are sent with empty values.
In this example, you can see that scopeMetrics / metrics / dataPoints/attributes have a key called bucket with an empty value.
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "test-service"
}
}
]
},
"scopeMetrics": [
{
"scope": {
"name": "com.test",
"attributes": []
},
"metrics": [
{
"name": "zio_fiber_fork_locations",
"sum": {
"dataPoints": [
{
"startTimeUnixNano": "1741701483845719000",
"timeUnixNano": "1741702203864049000",
"asInt": "3",
"exemplars": [],
"attributes": [
{
"key": "bucket",
"value": {}
}
]
},
{
"startTimeUnixNano": "1741701483845719000",
"timeUnixNano": "1741702203864049000",
"asInt": "36",
"exemplars": [],
"attributes": [
{
"key": "bucket",
"value": {
"stringValue": "com.test.HttpServer.start(HttpServer.scala:41)"
}
}
]
}
],
"aggregationTemporality": 2,
"isMonotonic": true
}
}
]
}
]
}
When enabling OpenTelemetry.zioMetrics some of the metrics attributes are sent with empty values.
In this example, you can see that scopeMetrics / metrics / dataPoints/attributes have a key called bucket with an empty value.
This metric is then dropped by OpenTelemetry Collector with this log message:
Project dependencies: