Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to include ingest delay to pulled metrics #129

Merged
merged 4 commits into from
Feb 7, 2022
Merged

Add support to include ingest delay to pulled metrics #129

merged 4 commits into from
Feb 7, 2022

Conversation

anas-aso
Copy link
Contributor

@anas-aso anas-aso commented Jul 1, 2021

While debugging this issue #123 I found out that GCP Cloud Monitoring metrics might suffer from ingestion delay.

This PR adds support to include the ingest delay for each metric before pull it from Cloud Monitoring.

Signed-off-by: Anas <anas-aso@users.noreply.github.com>
Signed-off-by: Anas <anas-aso@users.noreply.github.com>
@anas-aso
Copy link
Contributor Author

anas-aso commented Jul 1, 2021

@SuperQ can you review this PR please ?

@weyert
Copy link

weyert commented Aug 2, 2021

How can we progress this PR?

@anas-aso
Copy link
Contributor Author

@SuperQ did you get a chance to look at this PR?

Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a rebase and tests need to be passing.

@anas-aso anas-aso requested a review from SuperQ February 7, 2022 10:38
@anas-aso
Copy link
Contributor Author

anas-aso commented Feb 7, 2022

@SuperQ all green now.

Signed-off-by: SuperQ <superq@gmail.com>
@anas-aso anas-aso requested a review from SuperQ February 7, 2022 15:41
Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SuperQ SuperQ merged commit bbd1e75 into prometheus-community:master Feb 7, 2022
SuperQ added a commit that referenced this pull request Feb 7, 2022
Breaking Changes:

The exporter nolonger supports configuration via ENV vars. This was a non-standard feature that is not part of the Prometheus ecossystem. All configuration is now handled by the existing command line arguments.

* [CHANGE] Cleanup non-standard ENV var setup #142
* [FEATURE] Add support to include ingest delay when pull metrics #129
* [FEATURE] Add monitoring.filters flag #133
* [ENHANCEMENT] Setup exporter metrics only once when we can #124

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ SuperQ mentioned this pull request Feb 7, 2022
SuperQ added a commit that referenced this pull request Feb 9, 2022
Breaking Changes:

The exporter nolonger supports configuration via ENV vars. This was a non-standard feature that is not part of the Prometheus ecossystem. All configuration is now handled by the existing command line arguments.

* [CHANGE] Cleanup non-standard ENV var setup #142
* [FEATURE] Add support to include ingest delay when pull metrics #129
* [FEATURE] Add monitoring.filters flag #133
* [ENHANCEMENT] Setup exporter metrics only once when we can #124

Signed-off-by: SuperQ <superq@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants