Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite wird beschrieben, wie Sie Abrechnungsbenachrichtigungen und ‑benachrichtigungsregeln erstellen und stummschalten.
Hinweise
Bevor Sie fortfahren, müssen Sie die folgende erforderliche Rolle haben:
MonitoringRule PA Creator: Erstellen und Verwalten von benutzerdefinierten MonitoringRule-Ressourcen. Bitten Sie Ihren Organisations-IAM-Administrator, Ihnen die Rolle monitoringrule-pa-creator zuzuweisen.
Benachrichtigungsregeln erstellen
Mit der Ressource MonitoringRule in der Observability API können Sie Benachrichtigungsregeln basierend auf Rechnungs-Messwerten und Ihren Ausgabenschwellen erstellen.
Wenn Sie beispielsweise eine Benachrichtigungsregel mit einem Ausgabenschwellenwert von 80% Ihres Budgetbetrags von 500.000 $festlegen möchten, verwenden Sie den folgenden Ausdruck:
Ersetzen Sie TASK_ORDER durch Ihre Aufgabenbestellung und CLIN durch die Nummer der Vertragsposition.
SEVERITY
Der Schweregrad der Benachrichtigungsregel. Die Schweregradwerte sind error, critical, warning und info.
BILLING_CODE
Der Abrechnungscode, den Sie für die Benachrichtigungsregel definieren.
Beispiel: "BILLING-100".
MESSAGE
Eine Beschreibung der Benachrichtigung, die angezeigt wird, wenn die Benachrichtigungsregel ausgeführt wird.
Beispiel: "Spending exceeded limit".
Wenden Sie den Inhalt der YAML-Datei an und legen Sie die Benachrichtigungsregel fest:
kubectlapply-fFILENAME.yaml
Benachrichtigungen für Ausgabengrenzwerte erstellen
Ihr Infrastrukturbetreiber erstellt Benachrichtigungsrichtlinien für Ausgabengrenzwerte in der GDC Console. Benachrichtigungen zum Ausgabenschwellenwert sind benutzerdefinierte Abrechnungsbenachrichtigungen, die Sie darüber informieren, wenn die Abrechnungskosten den von Ihnen festgelegten Schwellenwert überschreiten. In Ihrer Auftragsbestätigung werden beispielsweise Benachrichtigungen zu den Gesamtkosten der Abrechnung erstellt und die Benachrichtigungen werden basierend auf einem festen Dollarbetrag oder als Prozentsatz des ursprünglichen Budgetbetrags konfiguriert.
Wenn Sie Benachrichtigungen für Ausgabenlimits und andere Abrechnungsbenachrichtigungen auf Organisationsebene erstellen möchten, senden Sie eine Anfrage an Ihren IO. Fügen Sie Ihrer Anfrage die folgenden Parameter hinzu:
Nummer des Arbeitsauftrags.
CLIN
Der Gesamtbudgetbetrag für die angegebene Aufgabenstellung und den angegebenen Posten.
Die Budgetüberschreitungsgrenze.
Benachrichtigungen stummschalten
Sie können Benachrichtigungsregeln über die GDC Console stummschalten und die Stummschaltung aufheben.
Folgen Sie der Anleitung unter Benachrichtigung stummschalten.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eThis page guides you through the process of creating billing alert rules using the \u003ccode\u003eMonitoringRule\u003c/code\u003e resource in the Observability API, based on invoice metrics and spend thresholds.\u003c/p\u003e\n"],["\u003cp\u003eTo create an alert rule, you need to have the \u003ccode\u003emonitoringrule-pa-creator\u003c/code\u003e role and then set up a YAML file with specific parameters, such as the alert name, expression, severity, and message.\u003c/p\u003e\n"],["\u003cp\u003eSpend threshold alerts, which are custom billing alerts that notify when billing costs exceed a set amount, are created by your Infrastructure Operator (IO) through a request process that includes task order number, CLIN, total budget, and budget threshold.\u003c/p\u003e\n"],["\u003cp\u003eYou can silence and unsilence alert rules via the GDC console by following the provided instructions.\u003c/p\u003e\n"],["\u003cp\u003eThis page also contains instructions on how to set up billing notification channels.\u003c/p\u003e\n"]]],[],null,["# Manage billing alerts\n\nThis page covers creating and silencing Billing alerts and alert rules.\n\nBefore you begin\n----------------\n\nBefore continuing, ensure you have the following required role:\n\n- **MonitoringRule PA Creator** : create and manage `MonitoringRule` custom resources. Ask your Organization IAM Admin to grant you the `monitoringrule-pa-creator` role.\n\nCreate alert rules\n------------------\n\nYou can create alert rules based on invoice metrics and your spend thresholds\nusing the [`MonitoringRule`](/distributed-cloud/hosted/docs/latest/gdch/apis/service/monitoring/v1/monitoring-v1#monitoringrule)\nresource in the [Observability API](/distributed-cloud/hosted/docs/latest/gdch/apis/observability-api-overview).\n\nSee [Create alert rules](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/create-alert-rules#create-rules)\nfor instructions on creating alerts using the GDC console.\n\nTo create an alert rule, work through the following steps:\n\n1. Create a YAML file, and add in the `MonitoringRule` resource and the\n following contents:\n\n apiVersion: monitoring.gdc.goog/v1\n kind: MonitoringRule\n metadata:\n name: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eMONITORING_RULE_NAME\u003c/span\u003e\u003c/var\u003e\n namespace: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003ePROJECT\u003c/span\u003e\u003c/var\u003e\n spec:\n interval: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eINTERVAL\u003c/span\u003e\u003c/var\u003e\n limit: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eLIMIT\u003c/span\u003e\u003c/var\u003e\n alertRules:\n - alert: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eALERT\u003c/span\u003e\u003c/var\u003e\n expr: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eEXPRESSION\u003c/span\u003e\u003c/var\u003e\n labels:\n severity: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eSEVERITY\u003c/span\u003e\u003c/var\u003e\n code: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eBILLING_CODE\u003c/span\u003e\u003c/var\u003e\n resource: BILLING\n annotations:\n message: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eMESSAGE\u003c/span\u003e\u003c/var\u003e\n\n Replace the following variables:\n\n2. Apply the contents of the YAML file and set the alert rule:\n\n kubectl apply -f \u003cvar translate=\"no\"\u003eFILENAME\u003c/var\u003e.yaml\n\nCreate spend threshold alerts\n-----------------------------\n\nYour Infrastructure Operator (IO) creates spend threshold alert policies in\nthe GDC console. Spend threshold alerts are custom billing alerts that indicate\nwhen the billing costs exceed the threshold you set. For example, your IO creates billing\ntotal cost alerts and configures the alerts based on a fixed dollar amount, or as\na percentage of the initial budgeted amount.\n\nTo create spend threshold alerts and other organization-level billing alerts,\nsubmit a request to your IO. Include the following parameters in your request:\n\n- Task order (TO) number.\n- CLIN\n- The total budget amount for the specified TO and CLIN.\n- The budget threshold.\n\nSilence alerts\n--------------\n\nYou can silence and unsilence alert rules through the GDC console.\nFollow the instructions in [Silence an alert](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/manage-alerts-and-policies#silence-an-alert).\n\nConfigure billing notifications\n-------------------------------\n\nTo configure billing notifications, follow the instructions in\n[Configure notification channels](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/configure-notification-channels)."]]