Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Fix format of line protocol metrics syntax #136

Merged
merged 3 commits into from
Jun 28, 2021

Conversation

satta
Copy link
Contributor

@satta satta commented Jun 25, 2021

📔 Description

The current implementation of the metrics value serialization includes spaces into the fields of the measurements, which is not valid according to the spec and will cause the measurement to be rejected. This PR changes this behaviour to ensure all fields are separated by commas.

📝 Checklist

  • All user-facing changes have changelog entries.
  • The changes are reflected on docs.tenzir.com/threatbus, if necessary.
  • The PR description contains instructions for the reviewer, if necessary.

🎯 Review Instructions

Compare code and output to line protocol specification.

@satta satta requested a review from 0snap June 25, 2021 16:03
Copy link
Contributor

@0snap 0snap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a changelog entry in apps/vast/CHANGELOG.md?

@satta
Copy link
Contributor Author

satta commented Jun 28, 2021

Can you please add a changelog entry in apps/vast/CHANGELOG.md?

Done!

Copy link
Contributor

@0snap 0snap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rephrased the sentenced a bit to use active voice and put a link.

Co-authored-by: Felix  <flx.ortmann@gmail.com>
@0snap 0snap enabled auto-merge June 28, 2021 08:48
@0snap 0snap merged commit ebd1227 into tenzir:master Jun 28, 2021
Copy link
Contributor

@0snap 0snap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, approving!

@satta satta deleted the fix-line-protocol-metrics branch June 28, 2021 08:58
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants