2 releases

0.0.13 Jul 17, 2023
0.0.12 Jul 15, 2023
0.0.10 Jun 14, 2023
0.0.3 May 9, 2023

#118 in WebSocket

22 downloads per month

Custom license

100KB
1K SLoC

New Relic Open Source community project banner.

OpAMP Rust

The Open Agent Management Protocol (OpAMP) is a network protocol for remote management of agents. This project aims to implement the OpAMP protocol in a client library that can be used by Supervisor processes. By leveraging Rust's memory safety and performance, we aim to provide a reliable and efficient way of transmitting observability metrics.

Getting Started

This library is published as a standard crate. To add it to your project, include it as a dependency inside Cargo.toml like so:

[dependencies]
otel-opamp-rs = { version = "0.0.8", features = ["http", "websocket", "extras"] }

For more details refer to the API documentation

Features

This library supports the following capabilities

  • HTTP support
  • Websocket support
  • Gzip compression
  • Low resource consumption

The code references stable releases of the OpAMP protocol protobuf definition here and aims to be standards compliant on behavior to the published OpAMP specification

Building

This code uses the current stable release of Rust.

To checkout and build the code do the following:

git clone --recursive git@github.com:newrelic/otel-opamp-rs.git
cargo build

Support

This library is owned and maintained by members of the CA organization within New Relic. The authors will respond to bug reports and feature requests on a prioritized basis.

Contribute

We encourage your contributions to improve otel-opamp-rs! Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project.

If you have any questions, or to execute our corporate CLA (which is required if your contribution is on behalf of a company), drop us an email at opensource@newrelic.com.

A note about vulnerabilities

As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.

If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.

If you would like to contribute to this project, review these guidelines.

To all contributors, we thank you! Without your contribution, this project would not be what it is today.

License

OpAMP-RS is licensed under the Apache 2.0 License.

The otel-opamp-rs crate also uses source code from third-party libraries. You can find full details on which libraries are used within the Cargo.toml dependency specification section

Dependencies

~10–32MB
~422K SLoC