-
Notifications
You must be signed in to change notification settings - Fork 10
feat: add metadata support for go backends #212
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
Conversation
|
Go test coverage
|
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.10.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.11.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This pull request introduces improvements to client configuration and metadata handling for both the network and SNMP discovery services. The main changes include updating how Diode clients are initialized to support OTLP (OpenTelemetry Protocol) connections, passing policy metadata during entity ingestion, and updating dependencies across both services for compatibility and security.
Client initialization and configuration:
network-discovery/cmd/main.goandsnmp-discovery/cmd/main.goto support OTLP connections when client credentials are not provided, allowing more flexible deployment scenarios. [1] [2] [3] [4]Metadata handling for ingestion:
Ingestcalls in bothnetwork-discovery/policy/runner.goandsnmp-discovery/policy/runner.goto pass policy metadata (specifically,policy_name) with each ingestion, improving traceability of ingested data. [1] [2]Dependency updates:
diode-sdk-goand OpenTelemetry dependencies to newer versions in bothnetwork-discovery/go.modandsnmp-discovery/go.mod, ensuring compatibility with the new client features and improving security. [1] [2]Test suite compatibility:
diode.IngestOptionarguments, maintaining compatibility with the new ingestion method signatures. [1] [2] [3] [4]