From 6f596bb4fb3fa73a125d99a46e00bea5a142ca06 Mon Sep 17 00:00:00 2001 From: Mari Date: Wed, 6 Sep 2023 15:05:04 +0200 Subject: [PATCH 1/2] enable prometheus write endpoint by default --- src/bin/am/commands/start.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/am/commands/start.rs b/src/bin/am/commands/start.rs index 40d2cb3..e9b7b67 100644 --- a/src/bin/am/commands/start.rs +++ b/src/bin/am/commands/start.rs @@ -629,6 +629,7 @@ async fn start_prometheus( .arg(format!( "--web.external-url=http://{external_url}/prometheus" )) + .arg("--web.enable-remote-write-receiver") .stdin(Stdio::null()) .stdout(Stdio::piped()) .stderr(Stdio::piped()) From 03793a3362e570e23b46ebf60032579e9517345f Mon Sep 17 00:00:00 2001 From: Mari Date: Wed, 6 Sep 2023 15:07:31 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca5b8c0..2ad8b7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- The Prometheus write endpoint is now enabled by default (#136) + ## [0.4.1] - Change Docker Hub organization to `autometrics` (#133)