#platform #metadata #gcp

gcp_metadata_resolver

Helper utility to identify the Monitored Resource inside Google Cloud Platform

2 releases

Uses new Rust 2024

new 0.1.1 Apr 17, 2025
0.1.0 Apr 17, 2025

#131 in #metadata

Download history 123/week @ 2025-04-12

123 downloads per month

MIT/Apache

24KB
354 lines

gcp_metadata_resolver

Crates.io Docs.rs CI

This is a helper crate to support setting up optentelemetry-stackdriver. It will figure in which environment it runs and will create a fitting MonitoredResource. This is based on existing official stackdriver implementations in other languages.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Dependencies

~20–30MB
~528K SLoC