Thank you ☺️ On Fri, 21 May 2021, 21:52 Laurent C., <[email protected]> wrote:
> Hi, > > In section "remote_write:", where you most likely configure your influxdb > setup, you can add some "write_relabel_configs:". > For example, this would send only all metrics with "prefix:" > write_relabel_configs: > - source_labels: ['__name__'] > regex: (prefix:.*) > action: keep > > So, you keep or drop based on labels. You may combine with recording rules: > > 1. define recording rules with some known prefix, and use those rules > to perform aggregations > 2. define write_relabel_configs as above to send only metrics with > "prefix:" so only the aggregated metrics > > > https://www.prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write > > https://www.prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config > > Le jeudi 20 mai 2021 à 12:43:23 UTC+2, [email protected] a écrit : > >> Hi team >> I am sending all the metrics to the influxdb by using remote write >> option. So I just want to sent a specified metrics only how can do that. >> > -- > 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/860cac0e-6829-4487-84c6-60e16c5edd02n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/860cac0e-6829-4487-84c6-60e16c5edd02n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CALSpdGnWvDiAYJnMmqugJC-HS_5wTMELZDRx-yUC6qzc%2B_h1qA%40mail.gmail.com.

