Knowledge Check

To which labeled objects can you apply relabeling rules?

  • Scrape targets.
  • Individual samples scraped from targets.
  • Alerts sent to the Alertmanager.
  • Samples sent to remote storage destinations.
  • All of the above.

How are target labels that start with __ treated during and after relabeling?

  • They are removed from a target after relabeling.
  • They can be used for manipulating how a target is scraped during relabeling.
  • They may contain service-discovery-specific metadata about a target.
  • All of the above.