Skip to content

Can't generate array of double #43

@rotober

Description

@rotober

Hi, I need to generate json messages like the ones produced by CollectD ( a metrics collector among many, but I should use that...).
Messages are like these two:

  • [{"values":[0,0],"dstypes":["derive","derive"],"dsnames":["user","syst"],"time":1519314305.896,"interval":10.000,"host":"host1","plugin":"processes","plugin_instance":"pengine","type":"ps_cputime","type_instance":""}]
  • [{"values":[696],"dstypes":["gauge"],"dsnames":["value"],"time":1519314305.896,"interval":10.000,"host":"host2","plugin":"processes","plugin_instance":"stonithd","type":"ps_stacksize","type_instance":""}]

After lot of configurations I wasn't able to produce a message with {"values":[0,0]......
Seems that are not supported array of values of primitives types.
Have you any suggestion ?
Thanks
R.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions