mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Enable Prometheus admin API
This commit is contained in:
parent
a56a4b1fa2
commit
fdac297a46
1 changed files with 3 additions and 3 deletions
|
|
@ -157,9 +157,9 @@ async function main() {
|
|||
const prometheusEndpoint = `http://${prometheusLocation}`;
|
||||
const prometheusBinary = getBinaryFilename('prometheus');
|
||||
const prometheusArgs = [
|
||||
'--config.file', prometheusConfigFilename, '--storage.tsdb.retention.time', '31d',
|
||||
'--storage.tsdb.path', prometheusTsdbFilename, '--web.listen-address', prometheusLocation,
|
||||
'--log.level', verbose ? 'debug' : 'info'
|
||||
'--config.file', prometheusConfigFilename, '--web.enable-admin-api',
|
||||
'--storage.tsdb.retention.time', '31d', '--storage.tsdb.path', prometheusTsdbFilename,
|
||||
'--web.listen-address', prometheusLocation, '--log.level', verbose ? 'debug' : 'info'
|
||||
];
|
||||
await startPrometheus(
|
||||
prometheusBinary, prometheusConfigFilename, prometheusConfigJson, prometheusArgs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue