Skip to content

Prometheus warns about chat metric names not following counter naming convention #5786

@nicolasvienot

Description

@nicolasvienot

Description

Prometheus displays warnings for our chat metrics because counter metrics should end with _total according to Prometheus naming conventions.

Current warning

PromQL info: metric might not be a counter, name does not end in total/_sum/_count/_bucket etc.

Affected metrics

  • meilisearch_chat_prompt_tokens_usage
  • meilisearch_chat_completion_tokens_usage
  • meilisearch_chat_total_tokens_usage
  • meilisearch_chat_search_requests

Expected behavior

We should follow conventions

Metadata

Metadata

Assignees

Labels

experimental featureRelated to an experimental featureno db changeThe database didn't changev1.16.0PRs/issues solved in v1.16.0 released on 2025-08-04

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions