Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

filterAlertLabels

Source

Drop Alertmanager-internal labels (`__name__`, other `__…`).

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

Parameters

Parameter Type Description Default
labels Record<string, string> No additional description.

Returns

Record<string, string>

libs/@shumoku/core/src/plugin-kit/alertmanager.ts:42