-
Bug
-
Resolution: Not A Defect
-
Critical
-
Jenkins as a Servic3
Hello Team ,
I have configured InfluxDB plugin version 2.3 with a groovy pipeline.
I am using InfluxDbPublisher to create custom data map with fields and tags. Though the job build with message
"Custom data map found. Writing to InfluxDB...
Publishing data to target 'jenkins' (url='http://localhost:8086', database='apiresults')
Completed."
The custom measurement doesn't exist in the influx DB
My config step is as below
def testField = [:]
def testTag = [:]
def testDataMeasurementFields = [:]
def testDataMeasurementTags = [:]
testField['total'] = results.getTotalCount()
testField['passed'] = results.getPassCount()
testTag['infra'] = 'aws'
testTag['space'] = 'dev'
testDataMeasurementFields['apitest'] = testField
testDataMeasurementTags['apitest'] = testTag
step([$class: 'InfluxDbPublisher', selectedTarget: 'jenkins', customDataMap: testDataMeasurementFields,
customDataMapTags: testDataMeasurementTags, measurementName: 'apitest'])