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: Per-model metrics labels should be disabled by default #124

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

njhill
Copy link
Member

@njhill njhill commented Nov 16, 2023

Motivation

#90 introduced support for per-model prometheus metrics but the intention was not to change the default behaviour and have this as something enabled explicitly via configuration.

However, it was inadvertently made the default.

Modifications

Change default behaviour to not include modelId/vModelId prometheus metric labels. This is important because model-mesh was designed primarily for use cases where there is a very large and changing number of individual models and those scenarios would result in a much greater number of individual metrics than prometheus can handle.

Result

Original behaviour restored

@njhill
Copy link
Member Author

njhill commented Nov 16, 2023

FYI @VedantMahabaleshwarkar in case you are relying on the new default behaviour. You will need to enable the per-model metrics explicitly via the config.

Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@rafvasq rafvasq added the breaking-change Changes existing functionality label Nov 21, 2023
Motivation

#90 introduced support for per-model prometheus metrics but the intention was not to change the default behaviour and have this as something enabled explicitly via configuration.

However, it was inadvertently made the default.

Modifications

Change default behaviour to not include modelId/vModelId prometheus metric labels. This is important because model-mesh was designed primarily for use cases where there is a very large and changing number of individual models and those scenarios would result in a much greater number of individual metrics than prometheus can handle.

Result

Original behaviour restored

Signed-off-by: Nick Hill <[email protected]>
@njhill njhill force-pushed the fix-modelid-metrics-default branch from bb1688f to 919fb73 Compare November 21, 2023 22:51
@ckadner ckadner added this to the v0.11.2 milestone Nov 22, 2023
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ckadner, njhill

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ckadner ckadner merged commit fa9d16d into main Nov 22, 2023
7 checks passed
@njhill njhill deleted the fix-modelid-metrics-default branch November 22, 2023 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved breaking-change Changes existing functionality lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants