Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ml77N-0001J4-CF for pgsql-admin@arkaria.postgresql.org; Thu, 11 Nov 2021 10:15:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ml77M-0003SG-DF for pgsql-admin@arkaria.postgresql.org; Thu, 11 Nov 2021 10:15:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ml77L-0003S7-Ff for pgsql-admin@lists.postgresql.org; Thu, 11 Nov 2021 10:15:39 +0000 Received: from admin.sibptus.ru ([2001:19f0:5001:21dc::10]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ml77D-0006Tj-U4 for pgsql-admin@lists.postgresql.org; Thu, 11 Nov 2021 10:15:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=EE6mw3uByfVOS3o7zop3U3YFA07NjbP4yPVlRTBaPdM=; b=UTX2gAb0mHtpjIBEqc+ykcOjyY wnNXBq/9O+i591fCBPuKcP9P/1bVjfA6psfSIYsPxsngMB37d5u01ZlKEPZuJSXTlqruHoQxB3Qha rIDKAHXKPj6zQY9ptnNOahLozFhhISd5y2RSIqg8FI6Y0OqUHl/I403dv6+BCqQRCVao=; Received: from vas by admin.sibptus.ru with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1ml778-0004gw-91; Thu, 11 Nov 2021 10:15:26 +0000 Date: Thu, 11 Nov 2021 10:15:26 +0000 From: Victor Sudakov To: pgsql-admin@lists.postgresql.org Cc: Ruohang Feng Subject: Re: Best Prometheus exporter? Message-ID: References: <8D5F0EAA-6C4F-4808-9633-5BC5DC33CB72@vonng.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ruohang Feng wrote: > Hi Victor: Hi Ruohang! > > 1. > > There is no official docker image. But there's a dockerfile: https://github.com/Vonng/pg_exporter/blob/master/Dockerfile > > It is a single binary that could be just ADD to a docker image, and receive parameters via ENVIRONMENT. > > Maybe I would create an image in dockerhub in next minor release. That would be great because I'd be able to use the image directly from dockerhub in my manifests, much like I use nginx, phpfpm and other official images, without copying the binary and running `docker build` somewhere. > 2. > > > You can setup monitoring staff manually with following resources: > > Grafana Dashboards: https://github.com/Vonng/pigsty/tree/master/roles/grafana/files/dashboards/pgsql Thanks a lot. I have looked at them and decided that I'll probably start by creating some dashboards from scratch using the metrics from your excellent exporter. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet