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

static metrics attributes not supported #917

Open
stevenh opened this issue Aug 21, 2024 · 0 comments
Open

static metrics attributes not supported #917

stevenh opened this issue Aug 21, 2024 · 0 comments

Comments

@stevenh
Copy link

stevenh commented Aug 21, 2024

Environment info:

  • KrakenD version: 2.7.0 container
  • System info: docker 27.1.1
  • Hardware specs: Number of CPUs, RAM, etc
  • Backend technology: Go
  • Additional environment information:

Describe the bug
The documentation details that its possible to use static global metrics here however the GlobalConfig.MetricsStaticAttributes field that's need for plugins to use these is missing in the latest release of krakend-ce v2.7.0.

This field is present in the latest version of krakend-otel v0.6.0 but krakend-ce is still using v0.5.0 so I suspect that this functionality, even though documented, doesn't actually work, and certainly can't be accessed by plugins using:

state.GlobalConfig().GlobalOpts().MetricsStaticAttributes
@stevenh stevenh changed the title static metrics not supported static metrics attributes not supported Aug 21, 2024
stevenh added a commit to stevenh/krakend-ce that referenced this issue Aug 21, 2024
Update dependencies to ensure that static attributes are available.

Fixes: krakend#917
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant