Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

buildAlertTitle

Source

Display title: `"<alertname> - <host>"`, or just the name when no host.

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

Parameters

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

Returns

string

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