[JIRA] (JENKINS-53360) Add ability to send list of data to InfluxDB

2 views
Skip to first unread message

pforsub@gmail.com (JIRA)

unread,
Aug 30, 2018, 10:08:01 PM8/30/18
to jenkinsc...@googlegroups.com
Pavel Vasilevich created an issue
 
Jenkins / Improvement JENKINS-53360
Add ability to send list of data to InfluxDB
Issue Type: Improvement Improvement
Assignee: Aleksi Simell
Components: influxdb-plugin
Created: 2018-08-31 02:07
Environment: Jenkins 2.121.1
Priority: Minor Minor
Reporter: Pavel Vasilevich

Main idea: get information about different stages in pipeline reported to InfluxDB.

It will be good if there will be automatic PointGenerator that collects information about stages in pipeline build and then prepares list of BatchPoints:

pipeline_data:

project_name build_number stage time
pipeline1 14 init 3
pipeline1 14 checkout 14
pipeline1 14 compile 40
pipeline1 14 deploy 15

In current implementation of plugin I am trying to do this using CustomDataMap, but I can't prepare such list of BatchPoints, because if I add CustomDataMap with key "pipeline_data", I can only add one point with any amount of fields, so possible structure now is:

pipeline_data:

project_name build_number stage_init stage_checkout stage_compile stage_deploy
pipeline1 14 3 14 40 15

Such structure is not generic, so if I have different pipelines with different stages, my InfluxDB table will have fields from all stages of all pipelines.

 

In this request I propose to add generic mechanism for sending list of data, so I can collect all necessary information in pipeline script and then publish to InfluxDB. However, adding default PointGenerator for pipeline stages time will be also helpful (people will be able to see pipeline stats without modification of their pipelines at all).

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

nthienan.it@gmail.com (JIRA)

unread,
Jul 12, 2019, 6:06:02 AM7/12/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages