מעבר אל Observability Analytics

אם אתם משתמשים ב-sinks כדי לייצא נתוני מעקב ל-BigQuery, המאמר הזה רלוונטי לכם. השימוש ב-sinks לייצוא נתוני מעקב לא מומלץ יותר. במקום זאת, מומלץ להשתמש ב-Observability Analytics, שכולל תמיכה באותה שפת שאילתות SQL כמו BigQuery. במאמר הזה מוסבר איך לבצע מיגרציה מפתרון שמבוסס על יעד לפתרון שמבוסס על Observability Analytics. הוא כולל גם מידע על שאילתות של נתוני המעקב באמצעות שירותי BigQuery.

‫BigQuery מספק שירותים שמאפשרים להעתיק טבלאות או לייצא נתונים. אחרי שיוצרים מערך נתונים מקושר ב-BigQuery, אפשר להעתיק ולייצא את נתוני העקבות באמצעות השירותים האלה. זהו שלב אופציונלי שמפורט במסמך הזה. מידע נוסף זמין במאמרים בנושא ניהול טבלאות ומבוא לייצוא נתונים.

כדי להתחיל להשתמש ב-Observability Analytics, אפשר לעיין במאמר שאילתות וניתוח של נתוני מעקב.

לפני שמתחילים

  1. נכנסים לחשבון Google Cloud . אם אתם משתמשים חדשים ב- Google Cloud, צרו חשבון כדי שתוכלו להעריך את הביצועים של המוצרים שלנו בתרחישים מהעולם האמיתי. לקוחות חדשים מקבלים בחינם גם קרדיט בשווי 300$ להרצה, לבדיקה ולפריסה של עומסי העבודה.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  3. Verify that billing is enabled for your Google Cloud project.

  4. Enable the Observability API.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the API

  5. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  6. Verify that billing is enabled for your Google Cloud project.

  7. Enable the Observability API.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the API

  8. כדי לקבל את ההרשאות שדרושות לטעינת הדף Observability Analytics, להרצת שאילתות וליצירת מערך נתונים מקושר ב-BigQuery, צריך לבקש מהאדמין להקצות לכם את תפקידי ה-IAM הבאים בפרויקט: