convert_sum_to_guage() not working as desired in transform type processor configuration #20774
Unanswered
debashish-github
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My application emits prometheus metrics and I am using a custom collector to convert this to open telemetry format . I have created the custom collector that includes the transform processor . I have attached my configuration . Basically I wan't to transform my metric ( which of type sum/cumulative and is monotonic) to guage . But the conversion of this metric to guage doesn't happen and neither does it say the reason . I have attached my collector configuration . Below are the prometheus metric and the converted open telemetry metric that I wan't to convert to guage
Prometheus Metric
HELP custom_message_volume_ehr_organization_total
TYPE custom_message_volume_ehr_organization_total counter
custom_message_volume_ehr_organization_total{Ehr="Epic",Facility="No Facility",MessageFormat="stu3",Organization="EpicSSDR",ResourceType="DocumentReference",} 7.0
Open Telemetry metric
Metric #82
Descriptor:
-> Name: custom_message_volume_ehr_organization_total
-> Description:
-> Unit:
-> DataType: Sum
-> IsMonotonic: true
-> AggregationTemporality: Cumulative
NumberDataPoints #0
Data point attributes:
-> Ehr: Str(Epic)
-> Facility: Str(No Facility)
-> MessageFormat: Str(stu3)
-> Organization: Str(EpicSSDR)
-> ResourceType: Str(DocumentReference)
StartTimestamp: 2023-04-10 16:26:46.484 +0000 UTC
Timestamp: 2023-04-10 16:45:46.492 +0000 UTC
Value: 7.000000
Any help on this is greatly appreciated !
config.txt
Beta Was this translation helpful? Give feedback.
All reactions