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 resource to vmreceiver. #31

Merged
merged 3 commits into from
Jun 22, 2019
Merged

Conversation

rghetia
Copy link
Contributor

@rghetia rghetia commented Jun 20, 2019

fixes #30.

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-io
Copy link

codecov-io commented Jun 20, 2019

Codecov Report

Merging #31 into master will increase coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
+ Coverage   68.94%   69.05%   +0.11%     
==========================================
  Files          82       84       +2     
  Lines        5461     5520      +59     
==========================================
+ Hits         3765     3812      +47     
- Misses       1480     1488       +8     
- Partials      216      220       +4
Impacted Files Coverage Δ
receiver/prometheusreceiver/factory.go 72.09% <0%> (ø)
receiver/zipkinreceiver/factory.go 100% <0%> (ø)

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 8772c90...e9d1eff. Read the comment docs.

@tigrannajaryan
Copy link
Member

@pjanotti vmmetrics is not on the list of receivers that we wanted to have in the core, however we haven't discussed it explicitly. Any thoughts on this?

@rghetia for reference here is the currently approved list of what we agreed to have in the core: https://github.com/open-telemetry/opentelemetry-service/blob/master/docs/migrating-from-opencensus.md

If we decide that we do not want to include vmmetrics then this change belongs to the "contrib" repo (which doesn't exist yet).

@songy23
Copy link
Member

songy23 commented Jun 21, 2019

I think vm metrics receiver should be in core. We didn't list it there because this receiver starts as an experimental component and lacks support for several platforms (e.g Windows, MacOS). Eventually it should be one of the default receivers.

@pjanotti
Copy link
Contributor

@tigrannajaryan In a sense this is not actually a receiver but a scraper/extractor of metrics. It is a good addition to core because it allows value out of box: just by running otelsvc one can use it to have metrics collected and shipped to their preferred backend.

Copy link
Contributor

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

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

@rghetia a couple of questions.

receiver/vmmetricsreceiver/vm_metrics_collector.go Outdated Show resolved Hide resolved
@tigrannajaryan
Copy link
Member

I think vm metrics receiver should be in core. We didn't list it there because this receiver starts as an experimental component and lacks support for several platforms (e.g Windows, MacOS). Eventually it should be one of the default receivers.

In a sense this is not actually a receiver but a scraper/extractor of metrics. It is a good addition to core because it allows value out of box: just by running otelsvc one can use it to have metrics collected and shipped to their preferred backend.

This sounds reasonable, let's make it part of the core.

@pjanotti
Copy link
Contributor

pjanotti commented Jun 21, 2019

Build failure was unrelated, created #43 to follow up. Kicked another build.

@rghetia
Copy link
Contributor Author

rghetia commented Jun 21, 2019

@pjanotti , @songy23 can one of you please merge this? I don't have write access.

@songy23 songy23 merged commit 9e8f857 into open-telemetry:master Jun 22, 2019
@flands flands added this to the 0.1.0 milestone Jun 28, 2019
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
…e. (open-telemetry#31)

The value of memory ballast can be now provided via SPLUNK_BALLAST_SIZE_MIB
env variable. It will override the value provided via --mem-ballast-size-mib
command line flag.

The SPLUNK_BALLAST_SIZE_MIB env variable can be accessed from the config file.
This is particularly useful for the memorylimiter processor and helps to avoid
specifying the ballast size twice.
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.

Add resource for VM Metrics receiver.
6 participants