Hi I have to label from one metrics to remaining other metrics . Can we do it using relabel_config in pometheus.yml.
Example : Below metrics holds topic and source label : source_topic_metrics(topic=topic1, source=source1) source_topic_metrics(topic=topic2, source=source2) Other metrics holds details like : fluentd_input_rate(topic=topic1, host=host1) fluentd_input_rate(topic=topic2, host=host1) kafka_log_size(topic=topic1) kafka_log_size(topic=topic2) I want to add labels from above query and want output as : fluentd_input_rate(topic=topic1, host=host1, source=source1) fluentd_input_rate(topic=topic2, host=host1, source=source2) kafka_log_size(topic=topic1, source=source1) kafka_log_size(topic=topic2 source=source2) So here , common match is topic, based on this label match I want to add source label in each metrics . Thanks Sunil Sagar -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bb723d68-3532-404c-8cf5-84d0b7812714n%40googlegroups.com.

