Skip to content

Conversation

synarete
Copy link
Collaborator

Labels can not be used in order to plot graphs based on metrics. Export various smb profile stats as explicit metric values, where only the operation name is used as label.

Use helper mapping from operation name to entry when emitting output metrics in order to avoid boilerplate code.

Labels can not be used in order to plot graphs based on metrics. Export
various smb profile stats as explicit metric values, where only the
operation name is used as label.

Use helper mapping from operation name to entry when emitting output
metrics in order to avoid boilerplate code.

Signed-off-by: Shachar Sharon <[email protected]>
Copy link
Collaborator

@phlogistonjohn phlogistonjohn left a comment

Choose a reason for hiding this comment

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

While nothing looks wrong my lack of direct experience with some of this API has me wondering.

One useful thing might be to do a before and after example curl run of the endpoint to help me/us see what is changing.

@synarete
Copy link
Collaborator Author

While nothing looks wrong my lack of direct experience with some of this API has me wondering.

One useful thing might be to do a before and after example curl run of the endpoint to help me/us see what is changing.

You have a point here -- I forgot to update the README.md file with the proper changes. Will add another commit on-top.

Copy link
Collaborator

@phlogistonjohn phlogistonjohn left a comment

Choose a reason for hiding this comment

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

Thanks a bunch for the sample output, it does help clarify how things should work now. LGTM

Copy link

@avanthakkar avanthakkar left a comment

Choose a reason for hiding this comment

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

LGTM!

@synarete synarete merged commit 7c009e8 into samba-in-kubernetes:main Feb 25, 2025
1 check passed
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.

3 participants