Skip to content

Commit

Permalink
Merge pull request #9 from eliashaeussler/task/interval
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler authored Jul 6, 2024
2 parents a0120db + 3ad2216 commit 0fd4881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ def main():
logger.debug('Starting server at http://localhost:8080...')
start_http_server(8080)

# Collect metrics every 3 seconds
# Collect metrics every 10 seconds
while True:
time.sleep(3)
time.sleep(10)
except KeyboardInterrupt:
logger.debug('Received keyboard interrupt, exiting.')
sys.exit(0)
Expand Down

0 comments on commit 0fd4881

Please sign in to comment.