Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman Penggunaan adalah dasbor buatan Looker yang menampilkan informasi penggunaan tentang instance Looker Anda. Admin dapat menggunakan data tersebut untuk lebih memahami cara pengguna menggunakan aplikasi. Untuk melihat halaman Penggunaan, dari bagian Server pada menu Admin, pilih Penggunaan.
Dasbor penggunaan
Akses dasbor Penggunaan dari panel Admin di bagian Server.
Kartu Kueri menurut Sumber, yang terletak di bagian atas halaman Penggunaan, menyertakan informasi tentang jumlah kueri yang dijalankan dari berbagai sumber dalam Looker. Berikut adalah kemungkinan sumbernya:
API (nomor versi): Kueri yang berasal dari Looker API untuk instance.
Dasbor: Kueri yang berkaitan dengan kartu yang ada di dasbor.
Pengambilan Data Dasbor: Kueri dari API untuk menjalankan dasbor terlebih dahulu.
Jelajahi: Kueri yang terkait dengan menjalankan Jelajahi.
Lainnya: Kueri dari sumber yang tidak termasuk dalam kategori lainnya.
Penyematan Pribadi: Kueri yang dimulai oleh konteks penyematan pribadi.
Semetan Publik: Kueri dijalankan dari konten yang diakses melalui URL publik.
Kueri: Singkatan dari source_query, kueri yang dihasilkan oleh database internal Looker.
Perender: Kueri yang berkaitan dengan pembuatan gambar (.png dan .pdf) untuk item terjadwal dan hasil download.
SQL Runner: Kueri yang dijalankan langsung di SQL Runner.
Tampilan Tersimpan: Kueri yang terkait dengan Tampilan.
Tugas Terjadwal: Kueri yang dijalankan oleh Looker saat menghasilkan Tampilan atau dasbor untuk dikirim.
Saran Filter: Kueri yang dihasilkan saat pengguna mengklik filter yang menghasilkan saran. Dalam hal ini, Looker menjalankan SELECT DISTINCT pada kolom yang difilter untuk menemukan saran yang akan ditampilkan kepada pengguna.
Komentar konteks untuk kueri SQL
Looker menambahkan komentar unik ke awal setiap kueri SQL. Komentar ditambahkan ke kueri dari Jelajah, SQL Runner, API, dan saran filter. Komentar konteks akan otomatis disertakan.
Komentar konteks pada koneksi Google BigQuery dinonaktifkan secara default karena komentar konteks membatalkan kemampuan Google BigQuery untuk menyimpan dalam cache dan dapat berdampak negatif pada performa cache. Anda dapat mengaktifkan komentar konteks untuk koneksi BigQuery dengan mengaktifkan tombol Nonaktifkan Konteks di halaman Setelan Koneksi untuk koneksi tersebut. Lihat halaman dokumentasi Google BigQuery untuk mengetahui informasi selengkapnya.
Komentar konteks ditambahkan dalam format berikut:
user_id: ID unik untuk setiap pengguna di instance Looker. Anda dapat mencocokkan User-ID ini dengan User-ID di halaman Pengguna di menu Admin.
history_slug: ID unik untuk setiap kueri yang dijalankan di database oleh instance Looker.
instance_slug: Nomor ID instance Looker yang mengeluarkan kueri. Dukungan Looker dapat menggunakan informasi ini untuk membantu Anda memecahkan masalah, jika diperlukan.
Komentar konteks ditambahkan ke perintah SQL keluar tepat sebelum SQL dikirim ke database. Tindakan ini mencegah komentar memengaruhi penyimpanan dalam cache kueri Looker, tetapi juga berarti Anda tidak dapat melihat komentar yang ditambahkan di sebagian besar tempat di Looker (seperti halaman Kueri atau Aktivitas Sistem).
Sebagai gantinya, Anda akan melihat komentar ini di log kueri database.
[[["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-08-25 UTC."],[],[],null,["# Admin settings - Usage\n\n| **Note:** [Looker (Google Cloud core)](/looker/docs/looker-core-overview) instances do not include this page. Usage information can be viewed using the [System Activity dashboards](/looker/docs/system-activity-dashboards) and [Explores](/looker/docs/usage-reports-with-system-activity-explores).\n\nThe **Usage** page is a Looker-created dashboard that presents usage information about your Looker instance. Admins can use the data to better understand how their users utilize the application. To view the **Usage** page, from the **Server** section of the **Admin** menu, select **Usage**.\n| **Note:** Check the [System Activity dashboards](/looker/docs/system-activity-dashboards) for additional usage information about your Looker instance.\n\nUsage dashboard\n---------------\n\nAccess the **Usage** dashboard from the **Admin** panel under the **Server** section.\n| **Note:** If you have a permission that provides access to only select pages in the Admin panel, such as [`manage_schedules`](/looker/docs/admin-panel-users-roles#manage_schedules), [`manage_themes`](/looker/docs/admin-panel-users-roles#manage_themes), or [`see_admin`](/looker/docs/admin-panel-users-roles#see_admin), but you don't have the [Admin role](/looker/docs/admin-panel-users-roles#default_roles), the page or pages that are described here may not be visible to you in the Admin panel.\n\nYou can [download](/looker/docs/viewing-legacy-dashboards#downloading_your_dashboard) or [schedule](/looker/docs/viewing-legacy-dashboards#scheduling_dashboard_data_delivery) the **Usage** dashboard just as any other dashboard.\n\nYou can also [drill down](/looker/docs/viewing-and-interacting-with-explores#drilling_down_into_the_data) on data points on the **Usage** dashboard.\n\n### Query by Source tile\n\nThe **Query by Source** tile, which is located at the top of the **Usage** page, includes information about the number of queries run from different sources within Looker. These are the possible sources:\n\n- **API (version number)**: Queries that came from the Looker API for the instance.\n- **Dashboard**: Queries relating to tiles present on a dashboard.\n- **Dashboard Prefetch**: Queries from the API to pre-run a dashboard.\n- **Explore**: Queries associated with running Explores.\n- **Other**: Queries from sources that do not fall into any other category.\n- **Private Embed**: Queries that were initiated by a private embed context.\n- **Public Embed**: Queries run from content that is accessed via public URL.\n- **Query** : Short for `source_query`, queries generated by Looker's internal database.\n- **Renderer**: Queries relating to the generation of images (.png and .pdf) for scheduled items and downloads.\n- **SQL Runner** : Queries that are run directly in the [SQL Runner](/looker/docs/sql-runner-basics).\n- **Saved Look**: Queries associated with Looks.\n- **Scheduled Task**: Queries run by Looker when it generates a Look or dashboard for delivery.\n- **Suggest Filter** : Queries generated when users click on a filter that generates suggestions. In this case, Looker runs a `SELECT DISTINCT` on the filtered field to find the suggestions to surface to the user.\n\nContext comments for SQL queries\n--------------------------------\n\nLooker adds a unique comment to the beginning of each SQL query. The comments are added to queries from Explores, SQL Runner, the API, and filter suggestions. Context comments are automatically included.\n\u003e [Context comments on Google BigQuery connections](/looker/docs/db-config-google-bigquery#context_comments) are disabled by default because context comments invalidate Google BigQuery's ability to cache and can negatively impact cache performance. You can enable context comments for a BigQuery connection by enabling the [**Disable Context**](/looker/docs/db-config-google-bigquery#disable_context_comment) toggle on the [Connection Settings](/looker/docs/connecting-to-your-db) page for the connection. See the [Google BigQuery](/looker/docs/db-config-google-bigquery#context_comments) documentation page for more information.\n\nContext comments are added in the following format: \n\n -- Looker Query Context '{ \"user_id\":\u003cuser ID\u003e,\"history_slug\":\u003chistory slug\u003e,\"instance_slug\":\"\u003cLooker instance number\u003e}'\n\nThe comments provide the following information:\n\n- **`user_id`** : The unique identifier for each user on the Looker instance. You can match this user ID to the user IDs on the [**Users**](/looker/docs/admin-panel-users-users#viewing_and_searching_users) page in the **Admin** menu.\n\n- **`history_slug`**: The unique identifier for each query that is run on the database by the Looker instance.\n\n- **`instance_slug`**: The ID number of the Looker instance that issued the query. Looker support can use this information to help you troubleshoot, if necessary.\n\nThe context comments are added to outgoing SQL commands right before the SQL is sent to the database. This prevents the comments from affecting the [caching](/looker/docs/caching-and-datagroups) of Looker queries, but it also means that you cannot see the added comments in most places in Looker (such as the **Queries** page or [System Activity](/looker/docs/usage-reports-with-system-activity-explores)).\n\nInstead, you'll see these comments in your database query logs."]]