Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics: private -> internal & <default> -> external #6

Merged
merged 2 commits into from Feb 17, 2016

Conversation

gwicke
Copy link
Member

@gwicke gwicke commented Feb 10, 2016

  • Rename 'private' metrics to 'internal'.
  • Prefix external metrics with 'external', rather than the empty default. This
    makes this symmetric with internal / internal-update requests, which in turn
    simplifies wildcard selections in dashboards.

Note: Deploying this involves several metric renames, and should be
coordinated with ops to avoid losing metrics.

@gwicke
Copy link
Member Author

gwicke commented Feb 10, 2016

/cc @wikimedia/services

@d00rman
Copy link
Contributor

d00rman commented Feb 12, 2016

@filippog @eevans this is the same as wikimedia/restbase#498 . Could you two coordinate on deploying this and renaming the metrics early next week?

@eevans
Copy link
Contributor

eevans commented Feb 12, 2016

@filippog @eevans this is the same as wikimedia/restbase#498 . Could you two coordinate on deploying this and renaming the metrics early next week?

@d00rman Sure, I can take it.

@gwicke can we get a version bump?

@eevans
Copy link
Contributor

eevans commented Feb 15, 2016

Bump? Can we get a rebase and version increase?

@gwicke
Copy link
Member Author

gwicke commented Feb 16, 2016

Rebased on top of @Pchelolo's changes. I omitted the version bump to avoid conflicts with the bump for wikimedia/swagger-router#38, which we plan to deploy today.

- Rename 'private' metrics to 'internal'.
- Prefix external metrics with 'external', rather than the empty default. This
  makes this symmetric with internal / internal-update requests, which in turn
  simplifies wildcard selections in dashboards.

Note: Deploying this involves several metric renames, and should be
coordinated with ops to avoid losing metrics.
gwicke added a commit that referenced this pull request Feb 17, 2016
Metrics: private -> internal & <default> -> external
@gwicke gwicke merged commit 81517d9 into wikimedia:master Feb 17, 2016
@gwicke
Copy link
Member Author

gwicke commented Feb 17, 2016

@filippog @eevans: Deploy PR is at https://gerrit.wikimedia.org/r/#/c/271194/.

The following metric renames are needed:

restbase.private -> restbase.internal
restbase.v1_* -> restbase.external.
restbase.sys_* -> restbase.external.
restbase.{ALL,GET,HEAD,OPTIONS,POST,_robots} -> restbase.external.

The following metric hierarchies are old and can be removed:

restbase.ab
restbase.wikimedia

@d00rman
Copy link
Contributor

d00rman commented Feb 17, 2016

I also prepared the ansible PR - wikimedia/ansible-deploy#47 . Just merge it when the time comes :)

@filippog
Copy link
Member

deployed yesterday, still seeing some traffic for some sys_ metrics, e.g.

10:08:18.379655 IP restbase1002.eqiad.wmnet.39077 > graphite1001.eqiad.wmnet.8125: UDP, length 555
E..G"2@.?..|
@..
@ ......3Nxrestbase.sys_post-data_-bucket-.PUT.ALL:0|ms

@eevans
Copy link
Contributor

eevans commented Feb 18, 2016

deployed yesterday, still seeing some traffic for some sys_ metrics, e.g.

@filippog

?!?!

Is this from all nodes? Some subset?

@eevans
Copy link
Contributor

eevans commented Feb 18, 2016

From IRC:

11:05 < urandom> godog: your paste implicates restbase1002 at least, i want to make sure it isn't *just* 1002
...
11:14 < godog> yeah I just saw the same metric from restbase1001 too mobrovac urandom

gwicke added a commit to gwicke/hyperswitch that referenced this pull request Feb 18, 2016
@gwicke
Copy link
Member Author

gwicke commented Feb 18, 2016

@filippog @eevans, those un-prefixed metrics were emitted during startup. See #10.

@filippog
Copy link
Member

@gwicke ack, thanks for looking into that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants