---
title: "Attribute examples | Grafana Labs"
description: "Real examples of assigning attributes"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

## Example 1: Minimal starting schema

This example shows the recommended starting point for new Fleet Management users: just two attributes:

Alloy ![Copy code to clipboard](/media/images/icons/icon-copy-small-2.svg) Copy

```alloy
remotecfg {
    // ... other configuration ...
    
    attributes = {
        "env"  = "production",   // Which environment: production, staging, or dev
        "team" = "platform"      // Who owns this collector
    }
}
```

| Attribute | Value        | What it means                                     |
|-----------|--------------|---------------------------------------------------|
| `env`     | `production` | This collector monitors production infrastructure |
| `team`    | `platform`   | The platform team owns and manages this collector |

## What you can target with this schema

- All production collectors → `env=production`
- All collectors owned by platform team → `team=platform`
- Production collectors owned by platform → `env=production, team=platform`

* * *

## Example 2: Expanded schema for larger deployments

As your fleet grows, you may need more precise targeting. This example adds a region attribute:

Alloy ![Copy code to clipboard](/media/images/icons/icon-copy-small-2.svg) Copy

```alloy
remotecfg {
    // ... other configuration ...
    
    attributes = {
        "env"    = "production",
        "region" = "us-east-1",
        "team"   = "platform"
    }
}
```

| Attribute | Value        | What it means                                     |
|-----------|--------------|---------------------------------------------------|
| `env`     | `production` | This collector monitors production infrastructure |
| `region`  | `us-east-1`  | This collector is located in the US East region   |
| `team`    | `platform`   | The platform team owns and manages this collector |

## What you can target with this schema

- All US East collectors → `region=us-east-1`
- Production collectors in US East → `env=production, region=us-east-1`
- Platform team’s US East production collectors → all three attributes

> **Start simple, expand as needed.** Begin with Example 1. Add more attributes when you need that level of targeting precision.
