Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option and support for writing well formed JSON #1

Open
chetansaundankar opened this issue Jun 16, 2018 · 0 comments
Open

Add option and support for writing well formed JSON #1

chetansaundankar opened this issue Jun 16, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@chetansaundankar
Copy link
Collaborator

Currently, the plugin flushes the metric JSON to the file which results in a file containing several JSON objects written to the file - one per line.

Add an option wrap_in_json_object which in turn will create each file as a well-formed JSON file with the following format:

{ data: [ { "fields": {...} } ] }

@chetansaundankar chetansaundankar added the enhancement New feature or request label Jun 16, 2018
@chetansaundankar chetansaundankar self-assigned this Jun 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant