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 prometheus invalid metric name #849

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

Spycsh
Copy link
Member

@Spycsh Spycsh commented Nov 4, 2024

Description

Minor fix to #845

follow Underscore format that prometheus accepts

ValueError: Invalid metric name: http_requests_inprogress_comps-chat-agent

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

na

Tests

na

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
comps/cores/mega/http_service.py 77.77% <100.00%> (+0.31%) ⬆️

@Spycsh Spycsh merged commit acf07cd into opea-project:main Nov 4, 2024
13 checks passed
@eero-t
Copy link
Contributor

eero-t commented Nov 4, 2024

Thanks for the fix!

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.

4 participants