How to fix influxdb error in Monitoring Dashboard Beta

Not applicable

Seeing the below error on the apigee-influxdb service:

[write] 2017/06/27 15:45:21 write failed for shard 108: max series per database exceeded: target,app=edge,az=$APIGEE_AZ,dpcolor=green,env=prod,host=XX.XX.XX.XX,metric_db=application,org=external,pod=gateway,proxy=<proxy>,region=dc-1,service=message-processor,target=<target>

Please help.

--SF1429589--

0 1 289
1 REPLY 1

Arjav,

We are seeing the same error in our 4.17.x installation.

The definition of the error is:

The max series per database exceeded error occurs when a write causes the number of series in a database to exceed the maximum allowable series per database. The maximum allowable series per database is controlled by the max-series-per-database setting in the [data] section of the configuration file. 

The information in the < > shows the measurement and the tag set of the series that exceeded max-series-per-database. 

By default max-series-per-database is set to one million. Changing the setting to 0 allows an unlimited number of series per database.

Unfortunately it looks as though that setting is hard coded in the source configuration and it not changeable through the configuration as code implementation that I can see.

Source config

/opt/apigee/apigee-influxdb/source/conf/influxdb.conf

Running config

/opt/apigee/apigee-influxdb/conf/influxdb.conf

I am hoping an Apigeek might be able to shed some light on this issue as well.