synthetic-monitoring-agent
synthetic-monitoring-agent copied to clipboard
Fix: make label names uniform
Our use of labels names in logs and metrics is not uniform and this is causing a lot of pain.
We have foo_id, fooID and other variations.
Pick one.
It's fooId from now on.
It's going to be painful to change everywhere else to match this, but it's better than dealing with the existing pain.
So from now on we use camelCase for log labels, but we should keep using snake_case for prom labels, right?
So from now on we use camelCase for log labels, but we should keep using snake_case for prom labels, right?
I didn't think that far, but sounds reasonable.
Basically I looked at what would introduce the least changes, and camel case for log labels won.