On Tuesday, 17 March 2020 08:45:25 UTC, Shaam Dinesh wrote:
>
>
> I would like to discover scrapping across multiple ports on the same
> source IP by which i can able to get metrics for service specific (In my
> case Neo4j specific metrics on 2004) and also the node-exporter metrics
> running on 9100
>
>
>
You need two separate scrape jobs, with slightly different relabel configs
to set __address__ to ${1}:9100 and ${1}:2004.
These two scrape jobs will have include identical settings under
'consul_sd_configs'. Indeed, I understand that this particular case is
optimised, so the SD mechanism is not run twice.
--
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/927302bb-1eab-42e0-857b-f67412dbe1fb%40googlegroups.com.