Skip to content

Conversation

@ahmed-mez
Copy link
Contributor

@ahmed-mez ahmed-mez commented Mar 22, 2019

What does this PR do?

the upgrade to prometheus_client 0.6.0 breaks so many tests in #3275 .
this current PR tries to investigate and adapt our code so we can upgrade prometheus_client from 0.3.0 to 0.6.0

More context:
The reason behind tests failure is this commit prometheus/client_python@a4dd93b it makes counter metric name not have _total internally. released since 0.4.0 prometheus/client_python#300 , we rely on the function text_fd_to_metric_families (changed in 0.4.0) in our openmetrics logic which is used by multiple integrations

Motivation

same motivation as #3275

@ahmed-mez ahmed-mez requested a review from ofek March 22, 2019 15:16
@ahmed-mez ahmed-mez requested review from a team as code owners March 22, 2019 15:16
@codecov
Copy link

codecov bot commented Mar 22, 2019

Codecov Report

Merging #3357 into master will increase coverage by 5.94%.
The diff coverage is 65.07%.

@@            Coverage Diff             @@
##           master    #3357      +/-   ##
==========================================
+ Coverage   79.11%   85.06%   +5.94%     
==========================================
  Files         153       70      -83     
  Lines        7747     5978    -1769     
  Branches      945      761     -184     
==========================================
- Hits         6129     5085    -1044     
+ Misses       1395      723     -672     
+ Partials      223      170      -53

@codecov
Copy link

codecov bot commented Mar 22, 2019

Codecov Report

Merging #3357 into master will increase coverage by 6.61%.
The diff coverage is 65.07%.

@@            Coverage Diff             @@
##           master    #3357      +/-   ##
==========================================
+ Coverage   79.11%   85.73%   +6.61%     
==========================================
  Files         153      726     +573     
  Lines        7747    39999   +32252     
  Branches      945     4933    +3988     
==========================================
+ Hits         6129    34292   +28163     
- Misses       1395     4347    +2952     
- Partials      223     1360    +1137

@ofek
Copy link
Contributor

ofek commented Apr 23, 2019

Superseded by #3443

@ahmed-mez ahmed-mez closed this Apr 25, 2019
@dd-devflow dd-devflow bot deleted the ahmed-mez/upgrade-prometheus-client-v060 branch February 7, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants