# filterAlertLabels

Canonical: https://docs.shumoku.dev/ja/library/api/filterAlertLabels
Language: ja

@shumoku/core · 0.4.0 · function

# filterAlertLabels

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-kit/alertmanager.ts#L42)

APIの説明は英語のcanonical sourceを表示しています。

Drop Alertmanager-internal labels (\`\_\_name\_\_\`, other \`\_\_…\`).

```
filterAlertLabels(labels: Record<string, string>): Record<string, string>
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `labels` | `Record<string, string>` | 追加説明はありません。 | `—` |

## 戻り値

```
Record<string, string>
```

[`libs/@shumoku/core/src/plugin-kit/alertmanager.ts:42`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-kit/alertmanager.ts#L42)
