{"id":10212,"date":"2023-06-23T01:43:43","date_gmt":"2023-06-23T08:43:43","guid":{"rendered":"https:\/\/www.couchbase.com\/developers\/tutorials\/couchbase-exporter-setup\/"},"modified":"2023-06-23T01:43:43","modified_gmt":"2023-06-23T08:43:43","slug":"couchbase-exporter-setup","status":"publish","type":"tutorials","link":"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/","title":{"rendered":"Couchbase Exporter Setup (Prometheus)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The following will walk you through how to install and configure the Couchbase Exporter and its dependencies. Depending on which mode you want to run the Couchbase Exporter in, there will either be a single instance for each cluster, or an instance for each node in the cluster.<\/p>\n\n\n\n<h3 id=\"h-download-couchbase-exporter\" class=\"wp-block-heading\">Download Couchbase Exporter<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/couchbaselabs\/cbprometheus_python\">Download<\/a> the Couchbase Exporter python code.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl -L \n  https:\/\/github.com\/couchbaselabs\/cbprometheus_python\/tarball\/master &gt; \n  couchbase_exporter.tar.gz\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-create-user\" class=\"wp-block-heading\">Create User<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create a Couchbase Exporter user, required directories, and make prometheus user as the owner of those directories.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo groupadd -f couchbase_exporter\nsudo useradd -g couchbase_exporter --no-create-home --shell \/bin\/false couchbase_exporter\nsudo mkdir \/etc\/couchbase_exporter\nsudo chown couchbase_exporter:couchbase_exporter \/etc\/couchbase_exporter\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-unpack-couchbase-exporter-binary\" class=\"wp-block-heading\">Unpack Couchbase Exporter Binary<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Untar and move the downloaded Couchbase Exporter code<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>mkdir -p couchbase_exporter\ntar -xzf couchbase_exporter.tar.gz \n  -C couchbase_exporter --strip-components=1\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-install-python-dependencies\" class=\"wp-block-heading\">Install Python Dependencies<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Python is required for the exporter to run, along with the <code>uwsgi<\/code> package.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>pip<\/code> is not packaged in official software repositories of CentOS\/RHEL. The  EPEL repository needs to be enabled.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CentOS<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo yum install epel-release\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re running in AWS you&#8217;ll need to run:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo amazon-linux-extras install epel\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Install <code>pip<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CentOS<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo yum install python-pip python-devel gcc -y\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Install <code>uwsgi<\/code> and <code>flask<\/code> using <code>pip<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo pip install -r .\/couchbase_exporter\/requirements\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-install-couchbase-exporter\" class=\"wp-block-heading\">Install Couchbase Exporter<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Copy <code>couchbase_exporter<\/code> directory from <code>couchbase_exporter<\/code> folder to <code>\/opt\/couchbase_exporter<\/code> and change the ownership to the couchbase_exporter user.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo mv couchbase_exporter \/opt\nsudo chown -R couchbase_exporter:couchbase_exporter \/opt\/couchbase_exporter\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-setup-ssh-keys-for-cbstats\" class=\"wp-block-heading\">Setup ssh keys for cbstats<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This step only needs to be performed if you are running the exporter in a cluster\/standalone mode and wish to retrieve <code>cbstats<\/code> metrics. If you are running the exporter in local mode, this step is not required as the local version of <code>cbstats<\/code> is used.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can be done a few ways. This example we will be creating a user for the\nexporter to use on the Couchbase nodes. You will need to have ssh sudo access to\ncomplete this step.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From the exporter:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>ssh-keygen -t rsa -b 4096 -C &quot;enter.user@domain.com&quot;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Enter file in which to save the key (\/home\/vagrant\/.ssh\/id_rsa): <code>exporter<\/code> <br>\nEnter passphrase (empty for no passphrase):<br>\nEnter same passphrase again:<br>\nYour identification has been saved in exporter.<br>\nYour public key has been saved in exporter.pub.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>mv exporter* ~\/.ssh\ncat ~\/.ssh\/exporter.pub\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Copy the key to your clipboard<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can setup keys on each of the individual Couchbase nodes and the exporter\nwill connect to each node and run cbstats against that node. Or you can setup\nthe key on a single host in the cluster and use that node to access the other\nnodes in the cluster. If you do the latter you have to set the <code>CB_SSH_HOST<\/code>\nenvironment variable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On each host the exporter will need to connect to:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo useradd -m -d \/home\/exporter -s \/bin\/bash -G couchbase exporter\nsudo su\nmkdir \/home\/exporter\/.ssh\nchown exporter:exporter \/home\/exporter\/.ssh\/\nvi \/home\/exporter\/.ssh\/authorized_keys\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Paste the copied key into the authorized keys file<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>chmod 600 \/home\/exporter\/.ssh\/authorized_keys\nchown exporter:exporter \/home\/exporter\/.ssh\/authorized_keys\nexit\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-uwsgi-emperor\" class=\"wp-block-heading\">uwsgi Emperor<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Emperor will maintain and execute multiple instances of <code>uwsgi<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a directory for the <code>uwsgi<\/code> configuration files.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo mkdir -p \/etc\/uwsgi\/vassals\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create a new file for the <code>emperor.ini<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo vi \/etc\/uwsgi\/emperor.ini\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following contents to the <code>emperor.ini<\/code> file<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>[uwsgi]\nemperor = \/etc\/uwsgi\/vassals\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set the appropriate permissions<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo chown -R couchbase_exporter:couchbase_exporter \/etc\/uwsgi\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-vassals-cluster-monitoring-instances\" class=\"wp-block-heading\">Vassals (Cluster Monitoring Instances)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create an <code>ini<\/code> file for each cluster that you wish to monitor.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo vi \/etc\/uwsgi\/vassals\/{{CLUSTER}}.ini\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>{{CLUSTER}}<\/code> with a friendly name that contains no spaces i.e. (<code>cluster1.ini<\/code>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following contents to the file. Replace <code>{{CLUSTER_HOSTNAME}}<\/code> with the hostname of one of the Couchbase nodes in the cluster that you wish to monitor. Each exporter will need to run on a different port, it is recommended that you start with <code>5000<\/code> for <code>{{PORT}}<\/code> and increment by 1 (i.e. 5000, 5001, 5002, etc.)<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">CB_EXPORTER_MODE This can be &#8220;standalone&#8221; or &#8220;local&#8221;.<\/p>\n<\/blockquote>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>CLUSTER<\/code> &#8211; Friendly cluster name (no spaces). If <code>CB_EXPORTER_MODE<\/code> is set to <code>local<\/code> this value is changed to <code>\"localhost\"<\/code><\/li>\n\n\n<li><code>CLUSTER_HOSTNAME<\/code> &#8211; A comma-delimited list of one or more nodes (from the same cluster).<\/li>\n\n\n<li><code>CLUSTER_USERNAME<\/code> &#8211; An RBAC user with Read-Only Admin as well as System Catalog Query Permissions<\/li>\n\n\n<li><code>CLUSTER_PASSWORD<\/code> &#8211; The Password for the RBAC user<\/li>\n\n\n<li><code>PORT<\/code> &#8211; The port for the exporter to listen on<\/li>\n\n\n<li><code>CB_RESULTSET<\/code> &#8211; Optional, used to limit the result size. Default is 60. For larger clusters or clusters with a high number of buckets\/indexes, consider lowering this value.<\/li>\n\n\n<li><code>CB_CBSTAT_PATH<\/code> &#8211; Optional, Used to state path to cbstats for non-default installations of Couchbase<\/li>\n\n\n<li><code>CB_KEY<\/code> &#8211; Required if intending to use cbstats in standalone mode from the exporter, path to private key<\/li>\n\n\n<li><code>CB_SSH_USER<\/code> &#8211; Required if intending to use cbstats from the exporter in standalone mode, username for private key<\/li>\n\n\n<li><code>CB_SSH_HOST<\/code> &#8211;  Required if using cbstats in standalone mode and only connecting to a single host, ip address of that host.<\/li>\n\n\n<li><code>CB_NODE_EXPORTER_PORT<\/code> &#8211; Optional, The port that node exporter is running on. The Couchbase Exporter can act as a proxy to Node Exporter, retrieving Node Exporter and adding labels with Couchbase Server information to the Node Exporter Metrics. Defaults to 9200.<\/li>\n\n\n<li><code>CB_PROCESS_EXPORTER_PORT<\/code> &#8211; Optional, The port that process exporter is running on. The Couchbase Exporter can act as a proxy to Process Exporter, retrieving Process Exporter and adding labels with Couchbase Server information to the Node Exporter Metrics. Defaults to 9256.<\/li>\n\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>[uwsgi]\nhttp = :{{PORT}}\npidfile = \/tmp\/{{CLUSTER}}.pid\nenv = CB_DATABASE={{CLUSTER_HOSTNAME}}\nenv = CB_USERNAME={{CLUSTER_USERNAME}}\nenv = CB_PASSWORD={{CLUSTER_PASSWORD}}\nenv = CB_RESULTSET={{CB_RESULTSET}}\nenv = CB_CBSTAT_PATH={{CB_CBSTAT_PATH}}\nenv = CB_KEY={{CB_KEY}}\nenv = CB_SSH_USER={{CB_SSH_USER}}\nenv = CB_SSH_HOST={{CB_SSH_HOST}}\nprocesses = 1\nmaster =\nchdir = \/opt\/couchbase_exporter\/src\nwsgi-file = \/opt\/couchbase_exporter\/src\/wsgi.py\nenable-threads =\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set the appropriate permissions on the file<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo chown couchbase_exporter:couchbase_exporter \/etc\/uwsgi\/vassals\/{{CLUSTER}}.ini\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-setup-emperor-service\" class=\"wp-block-heading\">Setup Emperor Service<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Configure emperor to run as a service by creating the following file:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo vi \/usr\/lib\/systemd\/system\/emperor.uwsgi.service\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following configuration<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>[Unit]\nDescription=uWSGI Emperor\nAfter=syslog.target\n\n[Service]\nUser=couchbase_exporter\nGroup=couchbase_exporter\nExecStart=\/usr\/bin\/uwsgi --ini \/etc\/uwsgi\/emperor.ini\nRuntimeDirectory=\/opt\/couchbase_exporter\nRestart=always\nKillSignal=SIGQUIT\nType=notify\nStandardError=syslog\nNotifyAccess=all\n\n[Install]\nWantedBy=multi-user.target\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set the appropriate permissions<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo chmod 664 \/usr\/lib\/systemd\/system\/emperor.uwsgi.service\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-reload-systemd-and-start-emperor\" class=\"wp-block-heading\">Reload systemd and Start Emperor<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Reload the <code>systemd<\/code> service to register the prometheus service and start the prometheus service.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo systemctl daemon-reload\nsudo systemctl start emperor.uwsgi.service\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check the Emperor service status using the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo systemctl status emperor.uwsgi.service\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\".\/assets\/couchbase-exporter-status.png\" alt=\"Couchbase Exporter Status\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Configure Emperor to start at boot<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo systemctl enable emperor.uwsgi.service\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If <code>firewalld<\/code> is enabled and running, add a rule for port each exporter configured i.e <code>5000<\/code>, <code>5001<\/code>, etc.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>sudo firewall-cmd --permanent --zone=public --add-port=5000\/tcp\nsudo firewall-cmd --reload\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-verify-the-exporter-is-running\" class=\"wp-block-heading\">Verify the Exporter is Running<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Verify the exporter is running by visiting the <code>\/metrics<\/code> endpoint on the node on port <code>5000<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>http:\/\/&lt;couchbase_exporter\/emperor-ip&gt;:5000\/metrics\/buckets\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should be able to see something similar to the following:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>...\nep_dcp_other_producer_count {cluster=&quot;Demo-6.0.3&quot;, bucket=&quot;demo&quot;, node=&quot;10.1.2.100&quot;, type=&quot;bucket&quot;} 0 1581621651527\nep_dcp_other_producer_count {cluster=&quot;Demo-6.0.3&quot;, bucket=&quot;demo&quot;, node=&quot;10.1.2.100&quot;, type=&quot;bucket&quot;} 0 1581621652528\nep_dcp_other_producer_count {cluster=&quot;Demo-6.0.3&quot;, bucket=&quot;demo&quot;, node=&quot;10.1.2.100&quot;, type=&quot;bucket&quot;} 0 1581621653528\nep_dcp_other_producer_count {cluster=&quot;Demo-6.0.3&quot;, bucket=&quot;demo&quot;, node=&quot;10.1.2.100&quot;, type=&quot;bucket&quot;} 0 1581621654527\nep_dcp_other_producer_count {cluster=&quot;Demo-6.0.3&quot;, bucket=&quot;demo&quot;, node=&quot;10.1.2.100&quot;, type=&quot;bucket&quot;} 0 1581621655527\nep_dcp_other_producer_count {cluster=&quot;Demo-6.0.3&quot;, bucket=&quot;demo&quot;, node=&quot;10.1.2.100&quot;, type=&quot;bucket&quot;} 0 1581621656528\nep_dcp_other_producer_count {cluster=&quot;Demo-6.0.3&quot;, bucket=&quot;demo&quot;, node=&quot;10.1.2.100&quot;, type=&quot;bucket&quot;} 0 1581621657528\n...\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-clean-up\" class=\"wp-block-heading\">Clean Up<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Remove the download and temporary files<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>rm -rf couchbase_exporter*\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you wish to add another cluster in the future, repeat Step 4.7 and restart the emperor service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following will walk you through how to install and configure the Couchbase Exporter and its dependencies. Depending on which mode you want to run the Couchbase Exporter in, there will either be a single instance for each cluster, or an instance for each node in the cluster. Download Couchbase Exporter Download the Couchbase Exporter [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"tutorial-languages":[551],"tutorial-tags":[553,571,563,570],"tutorial-technologies":[559,554],"tutorial-types":[555],"class_list":["post-10212","tutorials","type-tutorials","status-publish","hentry","tutorial-languages-any","tutorial-tags-configuration","tutorial-tags-monitoring","tutorial-tags-observability","tutorial-tags-prometheus","tutorial-technologies-connectors","tutorial-technologies-server","tutorial-types-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Couchbase Exporter Setup (Prometheus) - Couchbase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Couchbase Exporter Setup (Prometheus)\" \/>\n<meta property=\"og:description\" content=\"The following will walk you through how to install and configure the Couchbase Exporter and its dependencies. Depending on which mode you want to run the Couchbase Exporter in, there will either be a single instance for each cluster, or an instance for each node in the cluster. Download Couchbase Exporter Download the Couchbase Exporter [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"Couchbase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Couchbase\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2548\" \/>\n\t<meta property=\"og:image:height\" content=\"1171\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@couchbase\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/developers\\\/tutorials\\\/couchbase-exporter-setup\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/developers\\\/tutorials\\\/couchbase-exporter-setup\\\/\",\"name\":\"Couchbase Exporter Setup (Prometheus) - Couchbase\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/#website\"},\"datePublished\":\"2023-06-23T08:43:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/developers\\\/tutorials\\\/couchbase-exporter-setup\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/developers\\\/tutorials\\\/couchbase-exporter-setup\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/developers\\\/tutorials\\\/couchbase-exporter-setup\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Couchbase Exporter Setup (Prometheus)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/\",\"name\":\"Couchbase\",\"description\":\"The Operational Data Platform for AI\u2122\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/#organization\"},\"alternateName\":\"Couchbase, Inc.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/#organization\",\"name\":\"Couchbase\",\"alternateName\":\"Couchbase, Inc.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"width\":1129,\"height\":1129,\"caption\":\"Couchbase\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Couchbase\\\/\",\"https:\\\/\\\/x.com\\\/couchbase\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/CouchbaseServer\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/couchbase\\\/\",\"https:\\\/\\\/github.com\\\/couchbase\\\/\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Couchbase,_Inc.\"],\"description\":\"Couchbase is a database software company headquartered in San Jose, California, providing an operational data platform for AI used by hundreds of global enterprises.\",\"legalName\":\"Couchbase, Inc.\",\"foundingDate\":\"2011-01-01\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Couchbase Exporter Setup (Prometheus) - Couchbase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/","og_locale":"fr_FR","og_type":"article","og_title":"Couchbase Exporter Setup (Prometheus)","og_description":"The following will walk you through how to install and configure the Couchbase Exporter and its dependencies. Depending on which mode you want to run the Couchbase Exporter in, there will either be a single instance for each cluster, or an instance for each node in the cluster. Download Couchbase Exporter Download the Couchbase Exporter [&hellip;]","og_url":"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/","og_site_name":"Couchbase","article_publisher":"https:\/\/www.facebook.com\/Couchbase\/","og_image":[{"width":2548,"height":1171,"url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@couchbase","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/","url":"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/","name":"Couchbase Exporter Setup (Prometheus) - Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/fr\/#website"},"datePublished":"2023-06-23T08:43:43+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/fr\/developers\/tutorials\/couchbase-exporter-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/"},{"@type":"ListItem","position":2,"name":"Couchbase Exporter Setup (Prometheus)"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/fr\/#website","url":"https:\/\/www.couchbase.com\/fr\/","name":"Couchbase","description":"The Operational Data Platform for AI\u2122","publisher":{"@id":"https:\/\/www.couchbase.com\/fr\/#organization"},"alternateName":"Couchbase, Inc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/fr\/#organization","name":"Couchbase","alternateName":"Couchbase, Inc.","url":"https:\/\/www.couchbase.com\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.couchbase.com\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","contentUrl":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","width":1129,"height":1129,"caption":"Couchbase"},"image":{"@id":"https:\/\/www.couchbase.com\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Couchbase\/","https:\/\/x.com\/couchbase","https:\/\/www.youtube.com\/c\/CouchbaseServer","https:\/\/www.linkedin.com\/company\/couchbase\/","https:\/\/github.com\/couchbase\/","https:\/\/en.wikipedia.org\/wiki\/Couchbase,_Inc."],"description":"Couchbase est une soci\u00e9t\u00e9 de logiciels de bases de donn\u00e9es dont le si\u00e8ge social est situ\u00e9 \u00e0 San Jose, en Californie, et qui fournit une plateforme op\u00e9rationnelle de donn\u00e9es pour l\u2019IA utilis\u00e9e par des centaines d\u2019entreprises mondiales.","legalName":"Couchbase, Inc.","foundingDate":"2011-01-01"}]}},"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/tutorials\/10212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/tutorials"}],"about":[{"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/types\/tutorials"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/tutorials\/10212\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/media?parent=10212"}],"wp:term":[{"taxonomy":"tutorial-languages","embeddable":true,"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/tutorial-languages?post=10212"},{"taxonomy":"tutorial-tags","embeddable":true,"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/tutorial-tags?post=10212"},{"taxonomy":"tutorial-technologies","embeddable":true,"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/tutorial-technologies?post=10212"},{"taxonomy":"tutorial-types","embeddable":true,"href":"https:\/\/www.couchbase.com\/fr\/wp-json\/wp\/v2\/tutorial-types?post=10212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}