Menu
Choose a product
Scroll for more
Documentation
Grafana Cloud
Instrument and send data
Grafana Alloy
Reference
Standard library
convert
Grafana Cloud
convert
The convert namespace contains conversion functions.
nonsensitive
convert.nonsensitive converts a secret value back into a string.
Warning
Only use
convert.nonsensitivewhen you are positive that the value converted back to a string isn’t a sensitive value.Strings resulting from calls to
convert.nonsensitiveare displayed in plain text in the UI and internal API calls.
Examples
Alloy
// Assuming `sensitive_value` is a secret:
> sensitive_value
(secret)
> convert.nonsensitive(sensitive_value)
"Hello, world!"Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Getting started with managing your metrics, logs, and traces using Grafana
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video

Intro to Kubernetes monitoring in Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.
Video

Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.