Its working fine but with a delay of 3-4 mins. What probably could be the 
reason for this delay? 

On Friday, February 28, 2020 at 2:14:50 PM UTC+5:30, Ankita Khot wrote:
>
>  - job_name: 'abc'
>     metrics_path: /prometheus
>     scheme: https
>     static_configs:
>     - targets: ['test_vm']
>     tls_config:
>      insecure_skip_verify: true
>     metric_relabel_configs:
>      - source_labels: [__name__]
>        regex:         "jvm_memory_used_bytes"
>        action:        keep
>
>
> I am trying to keep only "jvm_memory_used_bytes" metric using 
> metric_relabel_configs but on the dashboard I am able to see all the 
> metrics. I also changed 'action' to 'drop' but "jvm_memory_used_bytes" is 
> not getting dropped.
>
> Is the above configuration correct ? Is there a way to filter the metrics 
> at the source, so that while using the curl command for metric endpoint we 
> will be able to see only the required metrics.
>
>

-- 
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/d074715c-49cd-4e54-9358-a0188a57c68a%40googlegroups.com.

Reply via email to