Closed Bug 1081631 Opened 11 years ago Closed 11 years ago

docker-worker: Cache volume stat name invalid (according to statsd)

Categories

(Taskcluster :: Workers, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlal, Unassigned)

Details

Attachments

(1 file)

52 bytes, text/x-github-pull-request
jlal
: review+
Details | Review
Example: docker-worker.aws-provisioner.us-west-2c.gaia.r3-xlarge.cache.volume.resources::7be8a3b8-061a-4746-a17e-e85b66beecf3.hit:1|c Pretty the '::' makes statsd angry I am not seeing the stats reporting but I am seeing the stats in the log.
We could change this to be a period and then it would probably align more with how the graphite metrics names are. Would be something like cache.volume.<cache name>.<instance>.hit make more sense? If so, I can have a change up real quick.
It's also possible to just keep the delimiter the same but make the metric name more sane to make statsd/Graphite happy.
Now that I have thought about it for stats simply stripping the delimiter and instance is probably better. I personally only care about overall hits/misses for a particular cache name.
Attached file github PR: # 53
Stats will now be: cache.volume.<cache name>.created cache.volume.<cache name>.miss cache.volume.<cache name>.hit cache.volume.<cache name>.<instance id>.removed <---happens when the GC needs to free up space and only unmounted instances are removed
Attachment #8504176 - Flags: review?(jlal)
Comment on attachment 8504176 [details] [review] github PR: # 53 r+ with the removal name change we talked about on IRC
Attachment #8504176 - Flags: review?(jlal) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: TaskCluster → Docker-Worker
Product: Testing → Taskcluster
Component: Docker-Worker → Workers
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: