mozilla / telemetry-server

Server for the Mozilla Telemetry project
Other
41 stars 35 forks source link

Standardize tags for accounting purposes #130

Closed whd closed 6 years ago

whd commented 9 years ago

App and Type are the tags we use for accounting. We're going to use pipeline as the App for anything related to the data pipeline, and use Type to further match specific applications such as telemetry. This is mostly important so that we can keep track of analysis worker costs.

Aside: I saw some tag weirdness to the effect of

Owner="NAME@mozilla.com Application=telemetry-analysis-worker-instance"

in dev so I have a suspicion that --tags "Owner=$OWNER App=$APP_TAG Type=$TYPE_TAG" might need to be escaped in some fashion in some cases.

mreid-moz commented 9 years ago

We should verify that the tags get applied correctly, since that's the method we use to terminate long-running instances and clusters. The docs aren't super clear, but this page suggests that the "--tags" parameter takes multiple Key=Value arguments, so maybe we need to remove the quotes?

The clusters in new-dev look like they have incorrect tags too.

mreid-moz commented 6 years ago

Closing this PR since this code is no longer in use.