zenoss-protobufs

module
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2022 License: Apache-2.0

README

zenoss-protobufs

Public protobuf messages for data-receiver

Using Protobufs

Inspect the protobufs inside the protobufs folder for data_receiver.proto:

protobufs/
`-- zenoss
    `-- cloud
        `-- data_receiver.proto

Design your code as per normal protobuf coding standards:

https://developers.google.com/protocol-buffers/docs/tutorials

Regenerating the new gRPC code, based on the new .proto:

make

Make that you have new asociated gRPC code for the following languages:

- Golang
- Java
- Python

Functional Testing

After making changes to data_receiver.proto, generate an API key as per:

https://help.zenoss.com/docs/administering-zenoss-cloud/enabling-access-for-zenoss-api-clients/managing-streaming-data-clients-and-zenoss-api-keys/creating-a-zenoss-api-key

Now set your ZENOSS_API_KEY environment variable:

export ZENOSS_API_KEY="asldkf.alsdjfal.sdkjf209u09cjoj2oi"

Then ensure that the functional tests pass:

make test

If you have test items that need modification or fixing, add those to test/data_receiver_test.go.

Directories

Path Synopsis
go
cloud/credentials
Package credentials is a reverse proxy.
Package credentials is a reverse proxy.
cloud/data_receiver
Package data_receiver is a reverse proxy.
Package data_receiver is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL