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 Logs to Test Bed #1407

Merged
merged 1 commit into from
Aug 26, 2020
Merged

Add Logs to Test Bed #1407

merged 1 commit into from
Aug 26, 2020

Conversation

keitwb
Copy link
Contributor

@keitwb keitwb commented Jul 21, 2020

This adds a simple 10k logs per second performance test that currently
passes with a fairly low bar.

This also involves adding support for logs to the otlpreceiver since it
is used to receive the logs by the mock backend.

Also expanding the receiverhelper to supportlog receiver factories.

@keitwb
Copy link
Contributor Author

keitwb commented Jul 21, 2020

I still need to make the CircleCI environment include the fluent-bit executable so that the load tests will pass here.

@codecov
Copy link

codecov bot commented Jul 21, 2020

Codecov Report

Merging #1407 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1407      +/-   ##
==========================================
- Coverage   91.90%   91.88%   -0.02%     
==========================================
  Files         254      254              
  Lines       17309    17309              
==========================================
- Hits        15907    15905       -2     
- Misses       1006     1007       +1     
- Partials      396      397       +1     
Impacted Files Coverage Δ
translator/internaldata/resource_to_oc.go 89.36% <0.00%> (-2.13%) ⬇️

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 2dfc893...e103890. Read the comment docs.

@tigrannajaryan
Copy link
Member

Can you please split this into 2 PRs: 1) adding log data type to OTLP receiver, 2) adding log data type to testbed.

@keitwb
Copy link
Contributor Author

keitwb commented Aug 24, 2020

I'll fix contrib after this merges.

port int
}

// Ensure FileLogWriter implements MetricDataSender.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// Ensure FileLogWriter implements MetricDataSender.
// Ensure FileLogWriter implements LogDataSender.

_ = f.file.Sync()
}

func (f *FileLogWriter) GenConfigYAMLStr() string {
Copy link
Member

Choose a reason for hiding this comment

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

Since FileLogWriter is specifically for fluentforward should we give a more specific name, e.g. FbFileLogWriter?


service:
extensions: [pprof]
extensions: [pprof, %s]
Copy link
Member

Choose a reason for hiding this comment

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

Does this work correctly if extensionsList is empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, trailing commas are allowed in yaml lists and result in a list of only pprof and nothing else.

@tigrannajaryan
Copy link
Member

The tests failed, not sure if related.

@tigrannajaryan
Copy link
Member

Does Log10kDPS measure CPU/RAM usage only of otelcol process? We do not see the resource usage by Fluentbit in the test, right?

This includes a simple performance test with 10k log records per second

Also make CircleCI have fluent-bit in the test environment.
@tigrannajaryan tigrannajaryan merged commit b13392b into open-telemetry:master Aug 26, 2020
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
* remove duplicate checkout

* adding changelog
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
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.

3 participants