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

Serve /metrics by tenant #7024

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Serve /metrics by tenant #7024

merged 1 commit into from
Mar 11, 2024

Conversation

fantix
Copy link
Member

@fantix fantix commented Mar 8, 2024

When /metrics is queried with the tenant's host name, like https://mydb.myhost:5656/metrics, the output contains only the metrics that belong to the tenant, without the tenant label. Otherwise if no tenant is specified, like https://127.0.0.1:5656/metrics, it'll return metrics of all tenants with a tenant label.

This should be used with appropriate authentication methods.

  • Add test

@fantix fantix merged commit 2520e61 into master Mar 11, 2024
23 checks passed
@fantix fantix deleted the metrics-by-tenant branch March 11, 2024 17:36
msullivan pushed a commit that referenced this pull request Mar 15, 2024
msullivan pushed a commit that referenced this pull request Mar 15, 2024
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 this pull request may close these issues.

3 participants