Add a relation for input prometheus plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Goal:
Telegraf has the ability to scrape prometheus metrics so it can expose them: https:/
This would allow a better homogeneous experience with metrics and labels, as telegraf would be the only point of scraping on a said node in the events that several process would expose metrics on a server.
Examples:
An example use case. If you need to scrape a list of prometheus urls you would create a file /etc/telegraf/
```
[[inputs.
urls = ["http://
```
However, one could be also interestd if scraping such metrics succeeded or failed.
Another file /etc/telegraf/
```
[[inputs.internal]]
```
This would expose internal telegraf metrics such as the "internal_
i.e:
internal_
I therefore propose to add an interface layer to allow charm to publish input prometheus urls to the telegraf charm.
I would prefer to tie the internal to this one but this could also be separated.
Changed in charm-telegraf: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Soon or later, the monitoring system will migrate to COS. Telegraf will be replaced by grafana-agent. /charmhub. io/topics/ canonical- observability- stack)
(https:/
This feature won't be implemented.