Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Snap collector #1447

Open
kindermoumoute opened this issue Dec 20, 2016 · 1 comment
Open

Snap collector #1447

kindermoumoute opened this issue Dec 20, 2016 · 1 comment

Comments

@kindermoumoute
Copy link
Contributor

kindermoumoute commented Dec 20, 2016

This is a follow-up of the conversation from Slack with @daniellee @jtlisi @thomastaylor312 about creating a Snap daemon collector. Here is a list of ideas:

@daniellee
Copy link

While waiting for something better, we are using this collector that I threw together for monitoring snap tasks (the one linked above as PoC):

https://github.com/raintank/snap-plugin-collector-snapstats

It's quite basic and only collects totals. We use the total count for failed tasks for alerting.

Here is what it collects:

  • Total number of disabled Snap tasks
  • Total number of Running Snap tasks
  • Total number of Stopped Snap tasks
  • Total sum of the all the snap tasks' hit counts
  • Total sum of the all the snap tasks' failed counts

Here is an example of an alert in Grafana:
image

So that is the use case I am interested in -> monitoring Snap tasks in a production environment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants