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

[kube-prometheus-stack] allow custom options for default grafana template #4857

Open
Sherzod5 opened this issue Sep 13, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Sherzod5
Copy link

Sherzod5 commented Sep 13, 2024

Is your feature request related to a problem ?

Hi,
we are using kube-promethues-stack to monitor our clusters in thanos.
After some time we realised that grafana cannot display downsampling metrics. to fix this there is this option: max_source_resolution=auto and it should be added to customQueryParameters.

datasources:
- name: Prometheus
  type: prometheus
  uid: prometheus
  url: http://thanos-query-frontend:9090
  access: proxy
  isDefault: true
  jsonData:
    httpMethod: POST
    timeInterval: 30s
    timeout: 240
    customQueryParameters: "max_source_resolution=auto"

Describe the solution you'd like.

after that everything works fine. the question is that in kube-promethues-stack there is no place to add this parameter.

we even checked https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/templates/grafana/configmaps-datasources.yaml this template but there is no such option there.
please add a possibility to add custom paramters to the helm chart

Describe alternatives you've considered.

Can you tell me how to add this parameter?
or is there any other key to solve this problem?

Additional context.

No response

@Sherzod5 Sherzod5 added the enhancement New feature or request label Sep 13, 2024
@Sherzod5 Sherzod5 changed the title non-functional grafana template allow custom options for default grafana template Sep 13, 2024
@zeritti zeritti changed the title allow custom options for default grafana template [kube-prometheus-stack] allow custom options for default grafana template Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant