---
title: "Standard library | Grafana Cloud documentation"
description: "The standard library is a list of functions used in expressions when assigning values to attributes"
---

# Standard library

The standard library is a list of functions you can use in expressions when assigning values to attributes.

All standard library functions are [pure functions](https://en.wikipedia.org/wiki/Pure_function). The functions always return the same output if given the same input.

- [array](/docs/grafana-cloud/send-data/alloy/reference/stdlib/array/)
- [coalesce](/docs/grafana-cloud/send-data/alloy/reference/stdlib/coalesce/)
- [constants](/docs/grafana-cloud/send-data/alloy/reference/stdlib/constants/)
- [convert](/docs/grafana-cloud/send-data/alloy/reference/stdlib/convert/)
- [encoding](/docs/grafana-cloud/send-data/alloy/reference/stdlib/encoding/)
- [file](/docs/grafana-cloud/send-data/alloy/reference/stdlib/file/)
- [json\_path](/docs/grafana-cloud/send-data/alloy/reference/stdlib/json_path/)
- [string](/docs/grafana-cloud/send-data/alloy/reference/stdlib/string/)
- [sys](/docs/grafana-cloud/send-data/alloy/reference/stdlib/sys/)
