Menu
DocumentationGrafana CloudInstrument and send dataGrafana AlloyConceptsConfiguration syntaxExpressions
Grafana Cloud
Expressions
Expressions represent or compute values you can assign to attributes within a configuration.
Basic expressions are literal values, like "Hello, world!"
or true
.
Expressions may also do things like refer to values exported by components, perform arithmetic, or call functions.
You use expressions when you configure any component. All component arguments have an underlying type. Alloy checks the expression type before assigning the result to an attribute.
Was this page helpful?
Related documentation
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Getting started with the Grafana LGTM Stack
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.