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

Add support for additional context to the metrics for query execution time #4662

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dgarros
Copy link
Collaborator

@dgarros dgarros commented Oct 18, 2024

This PR extend the QUERY_EXECUTION metric to support 2 additional (optional) dimensions.
Because each query may have different information to report, the name of these dimensions is very generic (context1 & context2)

As an example,
The query node_constraints_uniqueness has been updated to leverage this new capability to report the kind of the node as well. Having this information in prometheus is really important to understand how the node_constraints_uniqueness query is performing based on the information we have in the schema

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant