Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Log duration on scrape failures #54

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Log duration on scrape failures #54

merged 1 commit into from
Oct 29, 2021

Conversation

Crevil
Copy link
Contributor

@Crevil Crevil commented Oct 29, 2021

Currently we only log the duration of successful data collections but not on
failures. This makes it hard to understand the nature of eg. context deadline
exceeded.

This change moves the duration tracking up to make it availble for error logs
giving better insights into how long it took.

Currently we only log the duration of successful data collections but not on
failures. This makes it hard to understand the nature of eg. context deadline
exceeded.

This change moves the duration tracking up to make it availble for error logs
giving better insights into how long it took.
@Crevil Crevil requested a review from a team October 29, 2021 19:01
@Crevil Crevil merged commit f3ae662 into master Oct 29, 2021
@Crevil Crevil deleted the feature/failure-duration branch October 29, 2021 19:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants