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

Generate metric data from PICT files #1414

Merged
merged 1 commit into from
Jul 27, 2020
Merged

Generate metric data from PICT files #1414

merged 1 commit into from
Jul 27, 2020

Conversation

pmcollins
Copy link
Member

This is in support of issue #652 and in response to a request by the team to break a large PR into smaller chunks.

This change adds support for producing MetricData from generated PICT files.

@codecov
Copy link

codecov bot commented Jul 22, 2020

Codecov Report

Merging #1414 into master will increase coverage by 0.05%.
The diff coverage is 96.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1414      +/-   ##
==========================================
+ Coverage   90.28%   90.33%   +0.05%     
==========================================
  Files         232      233       +1     
  Lines       16396    16447      +51     
==========================================
+ Hits        14803    14858      +55     
+ Misses       1136     1134       -2     
+ Partials      457      455       -2     
Impacted Files Coverage Δ
internal/goldendataset/pict_metric_gen.go 96.07% <96.07%> (ø)
internal/goldendataset/metric_gen.go 100.00% <100.00%> (ø)
receiver/otlpreceiver/otlp.go 93.65% <0.00%> (+3.17%) ⬆️
translator/internaldata/resource_to_oc.go 86.04% <0.00%> (+4.65%) ⬆️

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 0ada62f...00b5333. Read the comment docs.

@jrcamp jrcamp added this to the Beta 0.7.0 milestone Jul 22, 2020
require.Equal(t, 19, len(mds))
}

func TestPICTtoCfg0(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

0 is intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, that's vestigial. Fixed.

@pmcollins pmcollins requested a review from nilebox as a code owner July 27, 2020 19:04
@@ -54,7 +54,7 @@ func DefaultCfg() MetricCfg {
NumILMPerResource: 1,
NumMetricsPerILM: 1,
NumPtLabels: 1,
NumPts: 1,
NumPtsPerMetric: 1,
Copy link
Member

Choose a reason for hiding this comment

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

In the future, these kind of changes can be split in small trivial to review PRs :)

@bogdandrutu bogdandrutu merged commit 65fa927 into open-telemetry:master Jul 27, 2020
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
…rters/metric/prometheus (open-telemetry#1414)

* Bump github.com/prometheus/client_golang in /exporters/metric/prometheus

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.8.0...v1.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
* Enable Cloud Foundry receiver

The Cloud Foundry receiver has been enabled in the OpenTelementry
Collector Contrib repository, and is now supported. This receiver
should also be supported in the Splunk distribution. This change
adds it as a dependency, adds it to the list of valid receivers,
and adds a reference to documentation, and the CHANGELOG.
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.

5 participants