Skip to content

Commit

Permalink
feat(static/metrics): migrate default WAL directory to data-alloy
Browse files Browse the repository at this point in the history
Signed-off-by: hainenber <[email protected]>
  • Loading branch information
hainenber committed Apr 14, 2024
1 parent eb0958d commit 5579e4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build/
data/
data-agent/
data-alloy/
dist/
internal/web/ui/node_modules/
internal/web/ui/build/
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ Main (unreleased)

- Fixed issue with defaults for Beyla component not being applied correctly. (marctc)

### Other changes

- Migrate static mode's default WAL directory from `data-agent` to `data-alloy`. (@hainenber)

v1.0.0 (2024-04-09)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion internal/static/metrics/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
var DefaultConfig = Config{
Global: instance.DefaultGlobalConfig,
InstanceRestartBackoff: 5 * time.Second,
WALDir: "data-agent/",
WALDir: "data-alloy/",
WALCleanupAge: 12 * time.Hour,
WALCleanupPeriod: 30 * time.Minute,
ServiceConfig: cluster.DefaultConfig,
Expand Down

0 comments on commit 5579e4e

Please sign in to comment.