Expose stub_status for telegraf plugin

Bug #1916078 reported by Haw Loeung on 2021-02-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Content Cache Charm
Haw Loeung

Bug Description


We currently don't seem to have metrics for no. of Nginx's active worker connections. This is exposed with the stub_status module[1] (active connections - accepts and handled). The charm should configure a vhost listening on localhost exposing this. We could then use something like the telegraf plugin fragment below[2]:

| [[inputs.nginx]]
| urls = ["http://localhost:6060/server_status"]


Related branches

Revision history for this message
Haw Loeung (hloeung) wrote :

Referencing LP:1891262. This will let us switch the HAProxy layer to use this endpoint for health checks to ensure the caching layer is up.

Changed in content-cache-charm:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Haw Loeung (hloeung)
importance: Medium → High
Haw Loeung (hloeung) on 2021-03-04
Changed in content-cache-charm:
status: In Progress → Fix Committed
Haw Loeung (hloeung) on 2021-03-04
Changed in content-cache-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers