Skip to content

Prometheus Metric type missing in the serialized JSON to Kafka #102

Open
@ssmails

Description

@ssmails

The prometheus metric type could be included in the searlized JSON sent to Kafka.
Having the metric type populated, would make it easier to work with the consumers of Kafka
Eg: https://docs.confluent.io/5.5.3/connect/kafka-connect-prometheus-metrics/index.html --> This assumes the metric type is included in the json added under the kafka topic.

https://github.com/Telefonica/prometheus-kafka-adapter/blob/master/serializers.go#L58

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions