0

I have spend a significant time reading the manual, but I still cannot figure out how to actually get a list of the targets that promtail is currently tailing.

The metrics endpoint only exposes aggregate numbers.

How can I list all the targets promtail is currently tailing?

MrMeeSeeks
  • 11
  • 1

1 Answers1

2

Sounds like you want ${PROMTAIL_HTTP_ENDPOINT}/targets. See the server code

Bruce Becker
  • 3,573
  • 4
  • 19
  • 40