Influxdb datasource: how to reference max series?

  • What Grafana version and what operating system are you using?
    9.3.6

  • What are you trying to achieve?
    Reference max series value in the provision json to set a higher value.

  • How are you trying to achieve it?
    In the datasource configmap I’ve set max_series: 5000 without success

  • What happened?
    The value hasn’t appeared in the config

  • What did you expect to happen?
    That the value be represented in the dashboard.

  • Can you copy/paste the configuration(s) that you are having problems with?

apiVersion: 1
datasources:  
  - name: influxdb-ds
    type: influxdb
    access: proxy
    database: 
    user: k6_user
    max_series: 5000
    url: http://influxdb-k6.monitor.svc.cluster.local:8086
    jsonData:
      version: Flux
      organization: influxdb-k6
      defaultBucket:  influxdb-k6
      httpMode: GET
      httpHeaderName1: Authorization
      httpHeaderName2: Content-type
    secureJsonData:
      httpHeaderValue1: 'Token __INFLUXDB_TOKEN__'
      httpHeaderValue2: 'application/json'
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    results are truncated, max series reached (1000)

  • Did you follow any online instructions? If so, what is the URL?
    I followed the influxdb datasource configuration url:
    InfluxDB data source | Grafana documentation

Ok, so the value that goes for max series is maxSeries and the value goes inside jsonData, like so:

1 Like