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 option for additional labels and annotations to chart #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelharrer
Copy link
Contributor

Since we are not able to adjust labels and annotations from service, deployment, pod etc its kind of hard to get vbump into monitoring.
This PR should make it possible to set labels for servicemonitors or annotations for old prometheus style discovery.

@michaelharrer michaelharrer linked an issue Sep 14, 2021 that may be closed by this pull request
@rebbuh
Copy link
Collaborator

rebbuh commented Sep 15, 2021

Wouldn't it be better to use namings like
deployment.specTemplate.annotations
deployment.specTemplate.labels

here?

@michaelharrer
Copy link
Contributor Author

hm, we could discuss to avoid nested values alltogether.

like:

  • speccDeploymentAnnotations
  • speccServiceAnnotations

this way we dont have to check every level and its "kind of good practice" i guess.
what do you think?

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.

Add prometheus metrics
2 participants