Service Discovery Status

While the /targets page shows scrape information for each active target, sometimes you may want to inspect the raw target information that originates from the service discovery mechanism you are using, and then check which ones are dropped or kept based on your relabeling rules. The /service-discovery page shows you this information for all scrape pools:

Service discovery status page

In the example above, we have configured Prometheus to discover three demo service targets from Consul, as presented in our Service Discovery training. The table shows all discovered targets, along with the target's labels before and after relabeling ("Discovered labels" and "Target labels" table columns).

When a target was discovered but then dropped during relabeling, the "Target labels" column will show it as dropped:

A dropped target

This allows you to figure out if your relabeling rules are working as intended, and whether targets are kept or dropped as you expected.