-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pgmonitor-extension by CrunchyData (#789)
- Loading branch information
1 parent
cb6bf0d
commit 3dd41b1
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Set PostgreSQL version | ||
ARG PG_VERSION=15 | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
|
||
# Clone repository | ||
RUN git clone https://github.com/CrunchyData/pgmonitor-extension.git | ||
|
||
# Set project version | ||
ARG EXTENSION_VERSION | ||
|
||
# Build extension | ||
RUN cd pgmonitor-extension && \ | ||
git fetch origin v${EXTENSION_VERSION} && \ | ||
git checkout v${EXTENSION_VERSION} && \ | ||
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[extension] | ||
name = "pgmonitor" | ||
version = "2.0.0" | ||
repository = "https://github.com/CrunchyData/pgmonitor-extension.git" | ||
license = "Apache-2.0" | ||
description = "PostgreSQL extension that provides a means to collect metrics that can be used by an external collection source." | ||
documentation = "https://github.com/CrunchyData/pgmonitor-extension.git" | ||
categories = ["metrics"] | ||
|
||
[build] | ||
postgres_version = "15" | ||
platform = "linux/amd64" | ||
dockerfile = "Dockerfile" | ||
install_command = """ | ||
cd pgmonitor-extension && make install | ||
""" |