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

[system detector] Correctly report DRAGONFLYBSD value #3100

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Apr 14, 2021

Description:

  • Fixes incorrect mapping when OS is of the dragonfly family. Not sure if the Collector would even build correctly on Dragonfly BSD but this is technically a bug 😄

Link to tracking Issue: Relates to open-telemetry/opentelemetry-specification#1572

Testing: Added unit test

@codecov
Copy link

codecov bot commented Apr 14, 2021

Codecov Report

Merging #3100 (f6c046e) into main (e9f085b) will increase coverage by 0.02%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3100      +/-   ##
==========================================
+ Coverage   91.64%   91.66%   +0.02%     
==========================================
  Files         482      482              
  Lines       23381    23385       +4     
==========================================
+ Hits        21427    21437      +10     
+ Misses       1454     1446       -8     
- Partials      500      502       +2     
Flag Coverage Δ
integration 63.30% <ø> (ø)
unit 90.66% <80.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...urcedetectionprocessor/internal/system/metadata.go 66.66% <80.00%> (+66.66%) ⬆️
processor/groupbytraceprocessor/event.go 95.96% <0.00%> (-0.81%) ⬇️
receiver/prometheusexecreceiver/receiver.go 88.33% <0.00%> (+2.50%) ⬆️
exporter/datadogexporter/metadata/metadata.go 90.14% <0.00%> (+5.63%) ⬆️

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 e9f085b...f6c046e. Read the comment docs.

@mx-psi mx-psi marked this pull request as ready for review April 14, 2021 09:54
@mx-psi mx-psi requested a review from jrcamp as a code owner April 14, 2021 09:54
@mx-psi mx-psi requested a review from a team April 14, 2021 09:54
@bogdandrutu bogdandrutu merged commit fbef6d4 into open-telemetry:main Apr 14, 2021
pmatyjasek-sumo pushed a commit to pmatyjasek-sumo/opentelemetry-collector-contrib that referenced this pull request Apr 28, 2021
alexperez52 referenced this pull request in open-o11y/opentelemetry-collector-contrib Aug 18, 2021
This change contains a CLI tool, called 'docsgen', that generates markdown files for collector
components. The markdown files present the configuration metadata extracted by the `configschema`
API in a human readable form that can be used to manually configure the collector.

This change also makes some modifications to the package formerly knows as `schemagen`, renaming
it to `configschema` and exporting some things, because it no longer generates a schema yaml file, but
rather provides an equivalent API used by docsgen.

Also, this PR includes one sample, generated .md document: `receiver/otlpreceiver/config.md`
@mx-psi mx-psi deleted the mx-psi/goos branch November 2, 2022 13:37
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.

3 participants