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

Rename host metrics to more consistent names based on OTEP #1261

Conversation

james-bebbington
Copy link
Member

@james-bebbington james-bebbington commented Jul 4, 2020

Renaming metrics based on open-telemetry/oteps#119

These may change again, but want to at least get closer to what we are likely to standardise on. Also renamed related functions & made the function names more consistent.

There are lots of files touched, but no functionality changes. Only constants, variables, functions, & files renamed.

(I will also rename virtualmemoryscraper to swapscraper in the next PR)

descriptor.SetDescription("Time spent in disk operations.")
descriptor.SetUnit("ms")
descriptor.SetType(pdata.MetricTypeInt64)
descriptor.SetType(pdata.MetricTypeMonotonicInt64)
Copy link
Member Author

Choose a reason for hiding this comment

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

This was incorrectly a gauge, when it should have been a counter

…rged otep, and update function names accordingly
@james-bebbington james-bebbington force-pushed the hostmetrics-rename-metadata branch from 13e0c8e to f784695 Compare July 4, 2020 05:39
@codecov
Copy link

codecov bot commented Jul 4, 2020

Codecov Report

Merging #1261 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1261      +/-   ##
==========================================
+ Coverage   88.60%   88.61%   +0.01%     
==========================================
  Files         207      207              
  Lines       15110    15110              
==========================================
+ Hits        13388    13390       +2     
+ Misses       1288     1287       -1     
+ Partials      434      433       -1     
Impacted Files Coverage Δ
...raper/processscraper/process_scraper_notwindows.go 100.00% <ø> (ø)
...ceiver/internal/scraper/cpuscraper/cpu_metadata.go 100.00% <100.00%> (ø)
...eceiver/internal/scraper/cpuscraper/cpu_scraper.go 88.23% <100.00%> (ø)
...r/internal/scraper/cpuscraper/cpu_scraper_linux.go 100.00% <100.00%> (ø)
...iver/internal/scraper/diskscraper/disk_metadata.go 100.00% <100.00%> (ø)
...eiver/internal/scraper/diskscraper/disk_scraper.go 92.85% <100.00%> (ø)
...l/scraper/filesystemscraper/filesystem_metadata.go 100.00% <100.00%> (ø)
...al/scraper/filesystemscraper/filesystem_scraper.go 82.92% <100.00%> (ø)
...raper/filesystemscraper/filesystem_scraper_unix.go 100.00% <100.00%> (ø)
...iver/internal/scraper/loadscraper/load_metadata.go 100.00% <100.00%> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 64403a6...f784695. Read the comment docs.

@bogdandrutu bogdandrutu merged commit add8f61 into open-telemetry:master Jul 7, 2020
wyTrivail pushed a commit to mxiamxia/opentelemetry-collector that referenced this pull request Jul 13, 2020
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
* Update the internal global TextMapPropagator

Include feedback from a post-merge review of open-telemetry#1258

* Apply feedback

* Update api/global/internal/propagator.go

Co-authored-by: Steven E. Harris <[email protected]>

Co-authored-by: Steven E. Harris <[email protected]>
Troels51 pushed a commit to Troels51/opentelemetry-collector that referenced this pull request Jul 5, 2024
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.

2 participants