Skip to content

Commit

Permalink
chore: clickhousesystemtablesreceiver: emit info log at startup (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-k-singh committed Apr 25, 2024
1 parent 24ec1a7 commit 275a1e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions receiver/clickhousesystemtablesreceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ func (r *systemTablesReceiver) run(ctx context.Context) {
r.scrapeIntervalSeconds+r.scrapeDelaySeconds,
))

r.logger.Info(fmt.Sprintf(
"starting system.query_log table scrape. scrape_interval: %d, min_scrape_delay: %d",
r.scrapeIntervalSeconds, r.scrapeDelaySeconds,
))

for {
select {
case <-ctx.Done():
Expand Down

0 comments on commit 275a1e6

Please sign in to comment.