Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions common/setup_monitoring.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ cp /tmp/postgres_exporter-0.15.0.linux-${PROM_ARCH}/postgres_exporter /usr/bin/p
chown ubi_monitoring:ubi_monitoring /usr/bin/postgres_exporter
chmod 100 /usr/bin/postgres_exporter

# Install otelcol-contrib
OTEL_VERSION="0.146.0"
echo "[setup_monitoring.sh] Downloading otelcol-contrib v${OTEL_VERSION}..."
curl -L -o otelcol-contrib.deb "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v${OTEL_VERSION}/otelcol-contrib_${OTEL_VERSION}_linux_${PROM_ARCH}.deb"
dpkg -i otelcol-contrib.deb
rm -f otelcol-contrib.deb
apt-get install -y acl

echo "=== [setup_monitoring.sh] Installing systemd service files ==="

# Copy systemd unit files
Expand Down