Using graphite and statsd would be much simpler.
As far as I understand it will work for every usecase we have so far.
See T117732 regarding an analytics specific instance.
Using graphite and statsd would be much simpler.
As far as I understand it will work for every usecase we have so far.
See T117732 regarding an analytics specific instance.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Addshore | T117735 Track all Wikidata metrics currently gathered in Graphite rather than SQL and TSVs | |||
Declined | Addshore | T117732 Create a Graphite instance in the Analytics cluster |
To expand on the use cases for a metrics storage backend here is appropriate.
I think that Wikidata content metrics favor long term retention (i.e. forever) because their purpose is to evaluate dynamics over both short and long period intervals. Since content is always changing, recreation of a past state from live data is not possible. The value of these historical measurement "snapshots" is therefore quite high. These old data are never archived either and must be able to be retrieved without loading a dump or using some offline process.
In contrast, ops metrics are much more focused on the present and/or recent state.
Thus, two different use cases exist here. If the proposal to use Graphite can substantiate a long term ( not decaying ) storage method, then it should work for both. If not, then something else (like OpenTSDB/ HBase) should be implemented.
If the proposal to use Graphite can substantiate a long term ( not decaying ) storage method, then it should work for both
Retention and resolution changes / decay are both configurable.
Simply setting the retention to 1d:100y would / should keep daily metrics for a period of 100years
thanks for expanding on that, here's my (as the person who's been looking after our graphite stack) opinion:
hope that helps!
For reference and our worries about graphite loosing data / data being removed please see this crude script.
Change 253571 had a related patch set uploaded (by Addshore):
Social metrics to graphite
Change 253572 had a related patch set uploaded (by Addshore):
Convert site_stats to graphite
Change 253573 had a related patch set uploaded (by Addshore):
Convert getclaims stats to graphite