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

fix cache lookups and name sensing for recorded metrics #159

Closed
wants to merge 1 commit into from

Conversation

memory
Copy link

@memory memory commented Aug 30, 2019

A fix for most of the issues noted in #104

  • update targets.targetMatch() to match labels correctly in
    the case of a recorded metric (thank you @StevenYCChou)

  • update metadata.Cache.Get() to treat metrics with names prefixed with
    the value of the --stackdriver.recorded-metric-prefix flag (default:
    recorded_) as recorded metrics and log an error if a colon is found in
    the metric name (stackdriver metric names cannot have those)

  • update README with specific notes for forwarding recorded metrics

A fix for most of the issues noted in Stackdriver#104

- update targets.targetMatch() to match labels correctly in
  the case of a recorded metric (thank you @StevenYCChou)

- update metadata.Cache.Get() to treat metrics with names prefixed with
  the value of the `--stackdriver.recorded-metric-prefix` flag (default:
  `recorded_`) as recorded metrics and log an error if a colon is found in
  the metric name (stackdriver metric names cannot have those)

- update README with specific notes for forwarding recorded metrics
@memory
Copy link
Author

memory commented Sep 3, 2019

n.b. the build failure appears to be unrelated to this PR as far as I can tell

@memory
Copy link
Author

memory commented Jan 15, 2021

Superseded by #266

@memory memory closed this Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants