• Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • influxdb-plugin
    • None

      Hi,

      While writing data to influxDB using InfluxDBPlugin, is there a possibility to provide list data to the customDataMap and customDataMapTags

      1. multiple records of same table data (list belonging to same entity)
      2. multiple records of different table (list belonging to different entity)

      //sample data

      def data = [test_detail:[[case:1, error:500], [case:4, error:1001], [case:4, error:91]], fix_detail:[[fix:1101, prio:1], [fix:1111, prio:5]]]

       

      Is this supported? At the moment, I am able to write individual record of entities, but adding multiple records all at once fails.

      Thanks!

          [JENKINS-60906] Write list data to <customDataMap>

          _peedus created issue -
          _peedus made changes -
          Description Original: Hi,

          While writing data to influxDB using [InfluxDBPlugin|https://wiki.jenkins.io/display/JENKINS/InfluxDB+Plugin], is there a possibility to provide list data to the *_customDataMap_* and *_customDataMapTags_*
           # multiple records of same table data (list belonging to same entity)
           # multiple records of different table (list belonging to different entity)

          {{//sample data}}

          def data = [*test_detail*:[[case:1, error:500], [case:4, error:1001], [case:4, error:91]], *fix_detail*:[[fix:1101, prio:1], [fix:1111, prio:5]]]

           

          Is this supported? At the moment, I am able to write individual record of entities, but adding multiple records fails.

          Thanks!
          New: Hi,

          While writing data to influxDB using [InfluxDBPlugin|https://wiki.jenkins.io/display/JENKINS/InfluxDB+Plugin], is there a possibility to provide list data to the *_customDataMap_* and *_customDataMapTags_*
           # multiple records of same table data (list belonging to same entity)
           # multiple records of different table (list belonging to different entity)

          {{//sample data}}

          def data = [*test_detail*:[[case:1, error:500], [case:4, error:1001], [case:4, error:91]], *fix_detail*:[[fix:1101, prio:1], [fix:1111, prio:5]]]

           

          Is this supported? At the moment, I am able to write individual record of entities, but adding multiple records all at once fails.

          Thanks!
          _peedus made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Aleksi Simell made changes -
          Link New: This issue duplicates JENKINS-57240 [ JENKINS-57240 ]
          Aleksi Simell made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            aleksisimell Aleksi Simell
            _peedus _peedus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: