Closed
Bug 1372999
Opened 8 years ago
Closed 8 years ago
measure and monitor size of documents being saved to elasticsearch
Categories
(Socorro :: Processor, task)
Socorro
Processor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(2 files)
Things keep getting added to the crash reports and some values have been changing in size over time. We have problems with Elasticsearch and storing all these things, but we have no visibility into whether document sizes are changing over time and if so, how.
This bug covers adding:
1. metrics generation (probably a datadog statsd histogram) for processed crash document size in the elasticsearch crashstorage
2. adding a graph to the datadog dashboard so we can monitor median, 95%, and max sizes
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → willkg
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla-services/socorro
https://github.com/mozilla-services/socorro/commit/d076f3cbdd7916b41cd5702b77cb949ffadd7508
Fixes bug 1372999 - add document size metrics for elasticsearch crashstorage (#3816)
* Add metrics infrastructure
This adds a new metrics infrastructure that's parallel to the existing logging
infrastructure and is available through config.metrics .
Why? Because it makes it much much much easier to thread metrics throughout the
app without adding more tangled component infrastructure and/or detangling the
existing stuff.
This is intentionally a minimal implementation. If we need more, we can break it
out into a larger thing at that point.
* Fixes bug 1372999 - Add document size metrics for Elasticsearch
This change captures raw_crash and processed_crash sizes for Elasticsearch so we
can see median, 95%, and max over time and better plan Elasticsearch changes.
* Fix nits
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•8 years ago
|
||
Reopening this because we need dashboards still. I need to wait for data to show up in Datadog before I can do that.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 4•8 years ago
|
||
I checked -stage and setup_metrics didn't pick up a host, so it's using LoggingMetrics.
I'll figure out what's going on and fix the code accordingly and do a new PR.
| Assignee | ||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla-services/socorro
https://github.com/mozilla-services/socorro/commit/92c0bd5d59e422c4603671cb265b0294ec71c84b
Fixes bug 1372999 - fix statsd host/port configuration (#3819)
This fixes the configman options for statsd_host and statsd_port so they look in
the right place for values.
Updated•8 years ago
|
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•8 years ago
|
||
I set up a dashboard for -stage.
When this goes to -prod tomorrow, I'll set up a dashboard there, too.
| Assignee | ||
Comment 8•8 years ago
|
||
I added graphs to -prod.
You need to log in
before you can comment on or make changes to this bug.
Description
•