-
Notifications
You must be signed in to change notification settings - Fork 491
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
JSON External Documentation Format is not Documented #1225
Comments
The PR that needs to be documented fced164 |
I'll add this to the resources PR today, but for now the structs used in JSON are opentsdb.DataPoint for metric data and metadata.Metasend for metadata. You send a stream of serialized JSON data over stdout, so when you run the program it should produce something like below. It starts with Metadata (only needed once, scollector will re-send as needed) and then starts sending metrics. You can also see the 4th line is a log message which was sent to stderror not stdout.
|
Update docs now at http://bosun.org/scollector/external-collectors |
http://godoc.org/bosun.org/cmd/scollector doesn't talk about how they can output json now
The text was updated successfully, but these errors were encountered: