-
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.
Merge branch 'main' into tembo-pg-versions
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
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,12 @@ | ||
ARG PG_VERSION=15 | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
USER root | ||
|
||
# Extension build dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential | ||
|
||
# Clone repository | ||
RUN git clone https://github.com/adjust/pg-telemetry.git | ||
|
||
RUN cd pg-telemetry && 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,24 @@ | ||
[extension] | ||
name = "pg-telemetry" | ||
extension_name = "pgtelemetry" | ||
version = "1.6.0" | ||
repository = "https://github.com/adjust/pg-telemetry" | ||
license = "PostgreSQL" | ||
description = "Useful monitoring views for PostgreSQL. Monitors replication, disk usage, sources of concurrent queries and WAL throughput." | ||
homepage = "https://github.com/adjust/pg-telemetry" | ||
documentation = "https://github.com/adjust/pg-telemetry/blob/master/doc/pgtelemetry.html" | ||
categories = ["tooling_admin", "metrics"] | ||
|
||
[dependencies] | ||
apt = ["libc6"] | ||
|
||
[build] | ||
postgres_version = "15" | ||
platform = "linux/amd64" | ||
dockerfile = "Dockerfile" | ||
install_command = """ | ||
cd pg-telemetry && make install | ||
set -x | ||
mv /usr/local/pgsql/share/extension/* /usr/share/postgresql/15/extension | ||
mv /usr/local/pgsql/lib/* /usr/lib/postgresql/15/lib | ||
""" |
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