Kong / mesh-perf

Performance tests of Kong Mesh
Apache License 2.0
0 stars 1 forks source link

Change report format we send to Datadog #75

Closed lobkovilya closed 1 year ago

lobkovilya commented 1 year ago

Today we send log that looks like:

hostname="github-actions", service="mesh-perf-test", specReports=[{report1},{report2},{report3}...]

Apparently it's not possible to generate metrics in DD based on items inside specReports array. We can access items only by index.

We have to change the format to:

hostname=github-actions, service="mesh-perf-test", specReport={report1}
hostname=github-actions, service="mesh-perf-test", specReport={report2}
hostname=github-actions, service="mesh-perf-test", specReport={report3}

In that case extracting attributes in DD is pretty straightforward.