Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into include-ns-in-alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom authored Oct 21, 2022
2 parents da6b3c9 + a23059e commit 6b96a7d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ We use the following categories for changes:
### Added
- Alerts from promscale monitoring mixin are groupped also by namespace label [#1714]

### Changed
- Reduced the verbosity of the logs emitted by the vacuum engine [#1715]

### Fixed


## [0.16.0] - 2022-10-20

### Added
Expand Down
4 changes: 3 additions & 1 deletion docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ services:
image: "otel/opentelemetry-collector:0.56.0"
command: [ "--config=/etc/otel-collector-config.yml" ]
volumes:
- ./otel-collector-config.yml:/etc/otel-collector-config.yml
- ${PWD}/otel-collector-config.yml:/etc/otel-collector-config.yml
ports:
- "14268:14268" # jaeger http

jaeger:
image: jaegertracing/jaeger-query:1.37.0
environment:
SPAN_STORAGE_TYPE: grpc-plugin
depends_on:
- promscale
command: [
"--grpc-storage.server=promscale:9202",
]
Expand Down
4 changes: 2 additions & 2 deletions pkg/vacuum/vacuum.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (e *Engine) Run(ctx context.Context) {
return
}
if !acquired {
log.Info("msg", "vacuum engine did not acquire advisory lock")
log.Debug("msg", "vacuum engine did not acquire advisory lock")
return
}
// release the advisory lock when we're done
Expand Down Expand Up @@ -213,7 +213,7 @@ func runWorkers(ctx context.Context, parallelism int, chunks []string, worker fu
// worker pulls chunks from a channel and vacuums them
func (e *Engine) worker(ctx context.Context, id int, todo <-chan string) {
for chunk := range todo {
log.Info("msg", "vacuuming a chunk", "worker", id, "chunk", chunk)
log.Debug("msg", "vacuuming a chunk", "worker", id, "chunk", chunk)
sql := fmt.Sprintf(sqlVacuumFmt, chunk)
_, err := e.pool.Exec(ctx, sql)
if err != nil {
Expand Down

0 comments on commit 6b96a7d

Please sign in to comment.