Expand description
Service configuration for Prometheus, Loki, Grafana, Promtail, and a caller-provided binary
Structs§
- Instance
Urls - URLs for binary instance installation
- Monitoring
Urls - URLs for monitoring service installation
Constants§
- ADDUSER_
VERSION - Version of adduser package for Ubuntu 24.04 (arch-independent)
- ALL_YML
- YAML configuration for Grafana dashboard providers
- DATASOURCES_
YML - YAML configuration for Grafana datasources (Prometheus, Loki, Tempo, and Pyroscope)
- FONTCONFIG_
CONFIG_ VERSION - Version of fontconfig-config package for Ubuntu 24.04
- FONTS_
DEJAVU_ CORE_ VERSION - Version of fonts-dejavu-core package for Ubuntu 24.04 (arch-independent)
- FONTS_
DEJAVU_ MONO_ VERSION - Version of fonts-dejavu-mono package for Ubuntu 24.04 (arch-independent)
- GRAFANA_
VERSION - Version of Grafana to download and install
- LIBFONTCONFI
G1_ VERSION - Version of libfontconfig1 package for Ubuntu 24.04
- LIBJEMALLO
C2_ VERSION - Version of libjemalloc2 package for Ubuntu 24.04
- LOGROTATE_
CONF - Logrotate configuration for binary logs
- LOGROTATE_
VERSION - Version of logrotate package for Ubuntu 24.04
- LOKI_
CONFIG - YAML configuration for Loki
- LOKI_
SERVICE - Systemd service file content for Loki
- LOKI_
VERSION - Version of Loki to download and install
- MUSL_
VERSION - Version of musl package for Ubuntu 24.04
- NODE_
EXPORTER_ SERVICE - Systemd service file content for Node Exporter
- NODE_
EXPORTER_ VERSION - Version of Node Exporter to download and install
- PROMETHEUS_
SERVICE - Systemd service file content for Prometheus
- PROMETHEUS_
VERSION - Version of Prometheus to download and install
- PROMTAIL_
SERVICE - Systemd service file content for Promtail
- PROMTAIL_
VERSION - Version of Promtail to download and install
- PYROSCOPE_
AGENT_ SERVICE - Systemd service file content for the Pyroscope agent script
- PYROSCOPE_
AGENT_ TIMER - Systemd timer file content for the Pyroscope agent service
- PYROSCOPE_
CONFIG - YAML configuration for Pyroscope
- PYROSCOPE_
SERVICE - Systemd service file content for Pyroscope
- PYROSCOPE_
VERSION - Version of Pyroscope to download and install
- SAMPLY_
VERSION - Version of Samply to download and install
- TEMPO_
CONFIG - YAML configuration for Tempo
- TEMPO_
SERVICE - Systemd service file content for Tempo
- TEMPO_
VERSION - Version of Tempo to download and install
- UNZIP_
VERSION - Version of unzip package for Ubuntu 24.04
Functions§
- binary_
s3_ key - Returns the S3 key for an instance’s binary by digest (deduplicated within deployment)
- config_
s3_ key - Returns the S3 key for an instance’s config by digest (deduplicated within deployment)
- generate_
prometheus_ config - Generates Prometheus configuration with scrape targets for all instance IPs
- generate_
pyroscope_ script - Shell script content for the Pyroscope agent (perf + wget)
- grafana_
dashboards_ s3_ key - grafana_
datasources_ s3_ key - hosts_
s3_ key - Returns the S3 key for hosts.yaml by digest (deduplicated within deployment)
- logrotate_
config_ s3_ key - loki_
config_ s3_ key - loki_
service_ s3_ key - monitoring_
s3_ key - Returns the S3 key for monitoring config by digest (deduplicated within deployment)
- node_
exporter_ service_ s3_ key - prometheus_
service_ s3_ key - promtail_
config - Generates Promtail configuration with the monitoring instance’s private IP and instance name
- promtail_
s3_ key - Returns the S3 key for promtail config by digest (deduplicated within deployment)
- promtail_
service_ s3_ key - pyroscope_
agent_ service_ s3_ key - pyroscope_
agent_ timer_ s3_ key - pyroscope_
config_ s3_ key - pyroscope_
s3_ key - Returns the S3 key for pyroscope agent script by digest (deduplicated within deployment)
- pyroscope_
service_ s3_ key - start_
monitoring_ services_ cmd - Continuation of monitoring install command (services startup)
- tempo_
config_ s3_ key - tempo_
service_ s3_ key