Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 0.9% on proxy.golang.org
Top 0.2% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 0.8% forks on proxy.golang.org
Top 2.1% docker downloads on proxy.golang.org

proxy.golang.org : go.opentelemetry.io/collector/config/configopaque

Package configopaque implements a String type alias to mask sensitive information. Use configopaque.String on the type of sensitive fields, to mask the opaque string as `[REDACTED]`. This ensures that no sensitive information is leaked in logs or when printing the full Collector configurations. The only way to view the value stored in a configopaque.String is to first convert it to a string by casting with the builtin `string` function. To achieve this, configopaque.String implements standard library interfaces like fmt.Stringer, encoding.TextMarshaler and others to ensure that the underlying value is masked when printed or serialized. If new interfaces that would leak opaque values are added to the standard library or become widely used in the Go ecosystem, these will eventually be implemented by configopaque.String as well. This is not considered a breaking change.

Registry - Homepage - Documentation - JSON
purl: pkg:golang/go.opentelemetry.io/collector/config/configopaque
Keywords: metrics, monitoring, observability, open-telemetry, opentelemetry, telemetry
License: Apache-2.0
Latest release: about 2 months ago
First release: 11 months ago
Namespace: go.opentelemetry.io/collector/config
Dependent packages: 526
Dependent repositories: 184
Stars: 3,907 on GitHub
Forks: 1,311 on GitHub
Docker dependents: 4
Docker downloads: 6
Total Commits: 5058
Committers: 444
Average commits per author: 11.392
Development Distribution Score (DDS): 0.663
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago

    Loading...
    Readme
    Loading...