The toString output of OtlpMetricsSender.Request is not very useful right now if someone is interested in the "body" of the request:
��
l
%
�telemetry.sdk.name��
io.micrometer
�telemetry.sdk.language��
�java
!
service.name��
�unknown_service�3�1
test.counter:!
����q��F����d͑�F��!�������?����"
It should be human readable, something like this instead:
resource_metrics {
resource {
attributes {
key: "telemetry.sdk.name"
value {
string_value: "io.micrometer"
}
}
attributes {
key: "telemetry.sdk.language"
value {
string_value: "java"
}
}
attributes {
key: "service.name"
value {
string_value: "unknown_service"
}
}
}
scope_metrics {
metrics {
name: "test.counter"
sum {
data_points {
start_time_unix_nano: 1773087915274000000
time_unix_nano: 1773087915280000000
as_double: 1.0
}
aggregation_temporality: AGGREGATION_TEMPORALITY_CUMULATIVE
is_monotonic: true
}
}
}
}
The
toStringoutput ofOtlpMetricsSender.Requestis not very useful right now if someone is interested in the "body" of the request:It should be human readable, something like this instead: