---
canonical: https://grafana.com/docs/alloy/latest/reference/stdlib/
description: The standard library is a list of functions used in expressions when assigning values to attributes
title: Standard library
weight: 400
---

# 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][].
The functions always return the same output if given the same input.

{{< section >}}

[pure functions]: https://en.wikipedia.org/wiki/Pure_function
