Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memcached adalah penyimpanan nilai kunci dalam memori untuk potongan kecil data arbitrer
(string, objek) dari hasil panggilan database, panggilan API, atau rendering halaman.
Untuk informasi selengkapnya, buka memcached.org.
Fungsi ini hanya tersedia untuk agen yang berjalan di Linux. Fitur ini tidak tersedia di Windows.
Discovery
Meskipun plugin memcached tidak dikonfigurasi, Cloud Monitoring akan menemukan layanan memcached yang berjalan di project Cloud Platform Anda dengan:
Menelusuri nama instance untuk memcached
Memeriksa port yang dibuka ke 11211 melalui aturan firewall
Untuk melihat metrik Memcached, lakukan tindakan 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."],[],[],null,["# Memcached plugin\n\nMemcached is an in-memory key-value store for small chunks of arbitrary data\n(strings, objects) from results of database calls, API calls, or page rendering.\nFor more information visit [memcached.org](http://www.memcached.org/).\n\nThis functionality is only available for agents running on Linux. It is\nnot available on Windows.\n| **Note:** You can now collect metrics from your Memcached instance using the [Ops Agent](/stackdriver/docs/solutions/agents/ops-agent), the primary and preferred agent for collecting telemetry from your Compute Engine instances. For details, see [configuring the Ops Agent for\n| Memcached](/stackdriver/docs/solutions/agents/ops-agent/third-party/memcached).\n\nDiscovery\n---------\n\nEven if the memcached plugin is not configured, Cloud Monitoring will\ndiscover memcached services running in your Cloud Platform project by:\n\n- Searching instance names for **memcached**\n- Checking for ports opened to **11211** via firewall rules\n\nTo see the metrics for Memcached, do the following:\n\n1. In the Google Cloud console, go to the **Dashboards** page:\n\n [Go to **Dashboards**](https://console.cloud.google.com/monitoring/dashboards)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n2. Select the **Memcached** dashboard from the list.\n\nConfiguring Monitoring to monitor memcached\n-------------------------------------------\n\nAfter you [install the monitoring agent](/monitoring/agent/monitoring/installation), use the following\ninstructions to configure the memcached plugin on your instances.\n\n### Enabling the memcached monitoring plugin\n\nOn your VM instance, download [memcached.conf](https://raw.githubusercontent.com/Stackdriver/stackdriver-agent-service-configs/master/etc/collectd.d/memcached.conf)\nfrom the [GitHub configuration repository](https://github.com/Stackdriver/stackdriver-agent-service-configs)\nand place it in the directory `/etc/stackdriver/collectd.d/`: \n\n (cd /etc/stackdriver/collectd.d/ && sudo curl -O https://raw.githubusercontent.com/Stackdriver/stackdriver-agent-service-configs/master/etc/collectd.d/memcached.conf)\n\nAfter adding the configuration file, restart the monitoring agent by running the following command: \n\n sudo service stackdriver-agent restart\n\nFor more information on the `collectd` `memcached` plugin, see\n[Plugin:memcached](https://collectd.org/wiki/index.php/Plugin:memcached).\n\nWhat is monitored\n-----------------\n\nThe full list of metrics the Memcached plugin monitors is at\n[Agent metrics: memcached](/monitoring/api/metrics_agent#agent-memcached)."]]