Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mengonfigurasikan pemberitahuan
Anda dapat mengonfigurasi pemberitahuan untuk memberi tahu Anda saat peristiwa terjadi. Misalnya, Anda dapat membuat pemberitahuan untuk memberi tahu Anda saat ada kegagalan autentikasi oleh konektor.
Konektor Integrasi mendukung dua jenis notifikasi pemberitahuan berikut:
Pemberitahuan di Cloud Monitoring
Pemberitahuan di Cloud Logging
Pemberitahuan di Cloud Monitoring
Anda dapat membuat dan mengonfigurasi pemberitahuan Cloud Monitoring untuk memberi tahu Anda saat resource Konektor Integrasi melebihi atau turun di bawah nilai minimum yang ditentukan. Misalnya, Anda dapat membuat pemberitahuan untuk memberi tahu Anda saat total data yang diproses oleh konektor melebihi nilai minimum yang ditentukan.
Untuk informasi selengkapnya tentang pemberitahuan di Cloud Monitoring, lihat Ringkasan pemberitahuan.
Sebelum memulai
Pastikan Anda memiliki peran IAM Monitoring Editor (roles/monitoring.editor) yang diberikan di project Google Cloud Anda. Untuk mengetahui informasi tentang cara memberikan peran, lihat Mengelola akses.
Untuk memilih resource, metrik, dan filter untuk Integrasi Aplikasi, klik Select a metric dan masukkan Connectors di kolom input Filter by resource or metric name.
Klik Terapkan.
Klik Next untuk membuka bagian Configure alert trigger.
Tetapkan nilai minimum untuk memicu pemberitahuan.
Klik Next untuk membuka bagian Configure notifications and finalize alert .
(Opsional) Untuk menambahkan notifikasi ke kebijakan pemberitahuan, klik
Notification channels, lalu pilih satu atau beberapa saluran
notifikasi dari daftar drop-down. Klik Oke.
Untuk menerima notifikasi saat insiden dibuka dan ditutup, centang
Notify on incident closure. Secara default, notifikasi hanya dikirim saat insiden dibuka.
(Opsional) Gunakan kolom teks Documentation untuk memasukkan informasi apa pun yang ingin Anda sertakan dalam pesan notifikasi.
Klik Alert policy name dan masukkan nama untuk kebijakan pemberitahuan.
Klik Create Policy.
Notifikasi dikirim ke kontak penting yang dikonfigurasi di Project Google Cloud Anda. Untuk
informasi selengkapnya tentang cara menambahkan kontak penting, lihat
Mengelola kontak untuk notifikasi.
Pemberitahuan di Cloud Logging
Anda dapat membuat dan mengonfigurasi pemberitahuan berbasis log untuk memberi tahu Anda setiap kali pesan tertentu muncul di log yang disertakan. Misalnya, Anda dapat membuat pemberitahuan berbasis log untuk pesan yang cocok dengan pola tertentu.
Membuat pemberitahuan
Anda dapat membuat pemberitahuan berbasis log dari halaman Logs Explorer di konsolGoogle Cloud atau menggunakan Monitoring API. Untuk petunjuk mendetail, lihat
bagian berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eIntegration Connectors allows you to configure alerts to notify you when specific events occur, such as authentication failures.\u003c/p\u003e\n"],["\u003cp\u003eAlert notifications can be set up in two ways: through Cloud Monitoring for threshold-based alerts or via Cloud Logging for message-pattern-based alerts.\u003c/p\u003e\n"],["\u003cp\u003eBefore creating alerts in Cloud Monitoring, ensure you have the \u003ccode\u003eMonitoring Editor\u003c/code\u003e IAM role and have configured notification channels.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a Cloud Monitoring alert policy by selecting the 'Connectors' resource, setting a threshold, and optionally configuring notification channels.\u003c/p\u003e\n"],["\u003cp\u003eYou can set up log-based alerts for specific messages found in your logs via the Logs Explorer or the Monitoring API.\u003c/p\u003e\n"]]],[],null,["# Configure alerts\n================\n\nYou can configure alerts to notify you when an event occurs. For example, you can create an alert\nto notify you when there is an authentication failure by a connector.\n\nIntegration Connectors supports the following two types of alert notifications:\n\n- Alerts in Cloud Monitoring\n- Alerts in Cloud Logging\n\nAlerts in Cloud Monitoring\n--------------------------\n\nYou can create and configure Cloud Monitoring alerts to notify\nyou when an Integration Connectors resource exceeds or drops below a specified threshold. For example, you can create an alert\nto notify you when the total data processed by a connector exceeds a specified threshold value.\n\nFor more information about alerting in Cloud Monitoring, see [Alerting overview](/monitoring/alerts).\n\n### Before you begin\n\n- Make sure that you have the **Monitoring Editor (`roles/monitoring.editor`)** IAM role granted on your Google Cloud project. For information about granting roles, see [Manage access](/iam/docs/granting-changing-revoking-access).\n- Learn about the general concepts of alerting policies, see [Alerting overview](/monitoring/alerts).\n- Configure notification channels to receive alerts, see [Create and manage notification channels](/monitoring/support/notification-options).\n\n### Create an alert\n\n 1. In the Google Cloud console, go to the **Monitoring \\\u003e Alerting** page.\n\n [Go to Alerting](https://console.cloud.google.com/monitoring/alerting)\n 2. Click **+ Create Policy**.\n 3. To select the resource, metric, and filters for Application Integration, click **Select a metric** and enter `Connectors` in the **Filter by resource or metric name** input field.\n 4. Click **Apply**.\n 5. Click **Next** to open the **Configure alert trigger** section.\n 6. Set a threshold value to trigger the alert.\n 7. Click **Next** to open the **Configure notifications and finalize alert** section.\n 8. (Optional) To add notifications to your alerting policy, click **Notification channels** and select one or more notification channels from the drop-down list. Click **OK** .\n\n To be notified when incidents are opened and closed, check\n **Notify on incident closure**. By default, notifications are sent only when\n incidents are opened.\n 9. (Optional) Use the **Documentation** text field to enter any information that you want included in a notification message.\n 10. Click **Alert policy name** and enter a name for the alerting policy.\n 11. Click **Create Policy**.\n- The alerts are sent to the essential contacts configured in your Google Cloud Project. For more information on adding essential contacts, see [Managing contacts for notifications](/resource-manager/docs/managing-notification-contacts).\n\nAlerts in Cloud Logging\n-----------------------\n\n- You can create and configure log-based alerts to notify you whenever a specific message appears in your included logs. For example, you can create a log-based alert for messages that match a specific pattern.\n\n### Create an alert\n\n- You can create log-based alerts from the **Logs Explorer** page in the Google Cloud console or by using the Monitoring API. For detailed instructions, see the following sections:\n - [Create a log-based alert by\n using the Logs Explorer](/logging/docs/alerting/log-based-alerts#lba-definition)\n - [Create a\n log-based alert by using the Monitoring API](/logging/docs/alerting/log-based-alerts#lba-by-api)\n| **Note:** You may incur additional charges for using Cloud Monitoring API directly. For more information, see [Cloud Monitoring pricing](/monitoring#section-7)."]]