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

By default, don't overwrite pushgateway metrics #3492

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

tkporter
Copy link
Collaborator

Description

Drive-by changes

Related issues

Backward compatibility

Testing

@tkporter tkporter requested a review from nambrot as a code owner March 26, 2024 17:41
Copy link

changeset-bot bot commented Mar 26, 2024

⚠️ No Changeset found

Latest commit: ec27d8a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@nbayindirli nbayindirli left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Merging #3492 (8b8bfb3) into v2 (4ef24ef) will not change coverage.
The diff coverage is n/a.

❗ Current head 8b8bfb3 differs from pull request most recent head ec27d8a. Consider uploading reports for the commit ec27d8a to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##               v2    #3492   +/-   ##
=======================================
  Coverage   67.91%   67.91%           
=======================================
  Files          95       95           
  Lines        1446     1446           
  Branches      189      189           
=======================================
  Hits          982      982           
  Misses        457      457           
  Partials        7        7           
Components Coverage Δ
core 94.82% <ø> (ø)
hooks 38.46% <ø> (ø)
isms 67.48% <ø> (ø)
token ∅ <ø> (∅)
middlewares 62.93% <ø> (ø)

@tkporter tkporter enabled auto-merge (squash) March 26, 2024 17:53
@tkporter tkporter merged commit 5517539 into v2 Mar 26, 2024
9 checks passed
@tkporter tkporter deleted the trevor/dont-overwrite-pushgateway-metrics-v2 branch March 26, 2024 17:56
tkporter added a commit that referenced this pull request Apr 2, 2024
### Description

- My changes in #3491 / #3492 were kind of accurate - according to
prometheus/pushgateway#65 even using pushAdd
will displace existing metrics. It's all very confusing!
- I tested this with a script that pushed some test metrics to the push
gateway - basically by having the key funder use a different job name
than the mainnet2 one, the metrics each of them push won't conflict with
one another

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
yorhodes pushed a commit that referenced this pull request Apr 14, 2024
### Description

- My changes in #3491 / #3492 were kind of accurate - according to
prometheus/pushgateway#65 even using pushAdd
will displace existing metrics. It's all very confusing!
- I tested this with a script that pushed some test metrics to the push
gateway - basically by having the key funder use a different job name
than the mainnet2 one, the metrics each of them push won't conflict with
one another

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
letonchanh pushed a commit to letonchanh/hyperlane-monorepo that referenced this pull request Apr 25, 2024
### Description

- My changes in hyperlane-xyz#3491 / hyperlane-xyz#3492 were kind of accurate - according to
prometheus/pushgateway#65 even using pushAdd
will displace existing metrics. It's all very confusing!
- I tested this with a script that pushed some test metrics to the push
gateway - basically by having the key funder use a different job name
than the mainnet2 one, the metrics each of them push won't conflict with
one another

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
daniel-savu pushed a commit that referenced this pull request Jun 5, 2024
### Description

- v2 backport of
#3491

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants