Skip to content

fix prometheus invalid metric name#849

Merged
Spycsh merged 2 commits intoopea-project:mainfrom
Spycsh:fix_prometheus_metric
Nov 4, 2024
Merged

fix prometheus invalid metric name#849
Spycsh merged 2 commits intoopea-project:mainfrom
Spycsh:fix_prometheus_metric

Conversation

@Spycsh
Copy link
Copy Markdown
Collaborator

@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

@Spycsh Spycsh requested a review from lvliang-intel as a code owner November 4, 2024 03:27
@codecov
Copy link
Copy Markdown

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
@eero-t
Copy link
Copy Markdown
Contributor

eero-t commented Nov 4, 2024

Thanks for the fix!

madison-evans pushed a commit to SAPD-Intel/GenAIComps that referenced this pull request May 12, 2025
* fix

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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