mostly start using prometheus
[distro-setup] / filesystem / etc / default / prometheus
1 # iank: initial file from 2.24, added to empty ARGS.
2
3 # Set the command-line arguments to pass to the server.
4
5 ARGS="--web.listen-address=127.0.0.1:9090"
6
7
8
9 # Prometheus supports the following options:
10 # --config.file="/etc/prometheus/prometheus.yml"
11 # Prometheus configuration file path.
12 # --web.listen-address="0.0.0.0:9090"
13 # Address to listen on for UI, API, and telemetry.
14 # --web.read-timeout=5m Maximum duration before timing out read of the
15 # request, and closing idle connections.
16 # --web.max-connections=512 Maximum number of simultaneous connections.
17 # --web.external-url=<URL> The URL under which Prometheus is externally
18 # reachable (for example, if Prometheus is served
19 # via a reverse proxy). Used for generating
20 # relative and absolute links back to Prometheus
21 # itself. If the URL has a path portion, it will
22 # be used to prefix all HTTP endpoints served by
23 # Prometheus. If omitted, relevant URL components
24 # will be derived automatically.
25 # --web.route-prefix=<path> Prefix for the internal routes of web endpoints.
26 # Defaults to path of --web.external-url.
27 # --web.local-assets="/usr/share/prometheus/web/"
28 # Path to static asset/templates directory.
29 # --web.user-assets=<path> Path to user asset directory, available at
30 # /user.
31 # --web.enable-lifecycle Enable shutdown and reload via HTTP request.
32 # --web.enable-admin-api Enable API endpoints for admin control actions.
33 # --web.console.templates="/etc/prometheus/consoles"
34 # Path to the console template directory,
35 # available at /consoles.
36 # --web.console.libraries="/etc/prometheus/console_libraries"
37 # Path to the console library directory.
38 # --web.page-title="Prometheus Time Series Collection and Processing Server"
39 # Document title of Prometheus instance.
40 # --web.cors.origin=".*" Regex for CORS origin. It is fully anchored.
41 # Example: 'https?://(domain1|domain2)\.com'
42 # --storage.tsdb.path="/var/lib/prometheus/metrics2/"
43 # Base path for metrics storage.
44 # --storage.tsdb.retention=15d
45 # [DEPRECATED] How long to retain samples in
46 # storage. This flag has been deprecated, use
47 # "storage.tsdb.retention.time" instead
48 # --storage.tsdb.retention.time=15d
49 # How long to retain samples in storage. When this
50 # flag is set it overrides
51 # "storage.tsdb.retention".
52 # If neither this flag nor "storage.tsdb.retention"
53 # nor "storage.tsdb.retention.size" is set, the
54 # retention time defaults to 15d.
55 # Units Supported: y, w, d, h, m, s, ms.
56 # --storage.tsdb.retention.size=
57 # [EXPERIMENTAL] Maximum number of bytes that can
58 # be stored for blocks. Units supported: KB, MB,
59 # GB, TB, PB. This flag is experimental and can be
60 # changed in future releases.
61 # --storage.tsdb.use-lockfile
62 # Create a lockfile in data directory.
63 # --storage.tsdb.allow-overlapping-blocks
64 # [EXPERIMENTAL] Allow overlapping blocks, which
65 # in turn enables vertical compaction and
66 # vertical query merge.
67 # --storage.tsdb.wal-compression
68 # Compress the tsdb WAL.
69 # --storage.remote.flush-deadline=<duration>
70 # How long to wait flushing sample on shutdown or
71 # config reload.
72 # --storage.remote.read-sample-limit=5e7
73 # Maximum overall number of samples to return via
74 # the remote read interface, in a single query. 0
75 # means no limit. This limit is ignored for
76 # streamed response types.
77 # --storage.remote.read-concurrent-limit=10
78 # Maximum number of concurrent remote read calls.
79 # 0 means no limit.
80 # --storage.remote.read-max-bytes-in-frame=1048576
81 # Maximum number of bytes in a single frame for
82 # streaming remote read response types before
83 # marshalling. Note that client might have limit on
84 # frame size as well. 1MB as recommended by
85 # protobuf by default.
86 # --rules.alert.for-outage-tolerance=1h
87 # Max time to tolerate prometheus outage for
88 # restoring "for" state of alert.
89 # --rules.alert.for-grace-period=10m
90 # Minimum duration between alert and restored "for"
91 # state. This is maintained only for alerts with
92 # configured "for" time greater than grace period.
93 # --rules.alert.resend-delay=1m
94 # Minimum amount of time to wait before resending
95 # an alert to Alertmanager.
96 # --alertmanager.notification-queue-capacity=10000
97 # The capacity of the queue for pending
98 # Alertmanager notifications.
99 # --alertmanager.timeout=10s
100 # Timeout for sending alerts to Alertmanager.
101 # --query.lookback-delta=5m The maximum lookback duration for retrieving
102 # metrics during expression evaluations and
103 # federation.
104 # --query.timeout=2m Maximum time a query may take before being
105 # aborted.
106 # --query.max-concurrency=20
107 # Maximum number of queries executed concurrently.
108 # --query.max-samples=50000000
109 # Maximum number of samples a single query can load
110 # into memory. Note that queries will fail if they
111 # try to load more samples than this into memory,
112 # so this also limits the number of samples a query
113 # can return.
114 # --log.level=info Only log messages with the given severity or
115 # above. One of: [debug, info, warn, error]
116 # --log.format=logfmt Output format of log messages. One of: [logfmt,
117 # json]