Prometheus
Open-source monitoring and alerting toolkit for collecting metrics and time series data.
monitoringmetricsalerting
Usage
import { defineConfig } from 'dockup/config';
import { prometheus } from 'dockup/services';
export default defineConfig({
services: [
prometheus()
],
});
Metadata
This service automatically exposes metadata.
dockup metadata
Web UI: http://localhost:9090
Prometheus web interface for queries and graphs
Metrics Endpoint: http://localhost:9090/metrics
Prometheus metrics scraping endpoint
Data Retention: Time: 15d, Size: 2GB
Metrics retention configuration
The above are the metadata generated when using this service with the default options.
Options
Prop | Type | Default |
---|---|---|
port? | number | 9090 |
configPath? | string | undefined |
rulesPath? | string | undefined |
retention? | string | "15d" |
storageSize? | string | "2GB" |
adminApi? | boolean | false |
lifecycleApi? | boolean | false |
name? | string | - |
image? | string | - |
extend? | ((service: ContainerService) => ContainerService) | - |