Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Add limit on log records per span #483

Merged
merged 1 commit into from
Jan 13, 2020

Conversation

funny-falcon
Copy link
Contributor

The MaxLogsPerSpan option limits the number of logs in a Span. Events are
dropped as necessary; a log in the finished span indicates how many were
dropped.

Resolves #46

Almost copy of opentracing/basictracer-go@723bb40

@yurishkuro
Copy link
Member

please make sure make lint is clean, and sign the commit (see CONTRIBUTING)

The MaxLogsPerSpan option limits the number of logs in a Span. Events are
dropped as necessary; a log in the finished span indicates how many were
dropped.

fixes jaegertracing#46

Almost copy of opentracing/basictracer-go@723bb40

Signed-off-by: Sokolov Yura <funny.falcon@gmail.com>
@funny-falcon
Copy link
Contributor Author

Done

@codecov
Copy link

codecov bot commented Jan 13, 2020

Codecov Report

Merging #483 into master will increase coverage by 0.07%.
The diff coverage is 95.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #483      +/-   ##
==========================================
+ Coverage   88.21%   88.29%   +0.07%     
==========================================
  Files          59       59              
  Lines        3512     3553      +41     
==========================================
+ Hits         3098     3137      +39     
- Misses        302      304       +2     
  Partials      112      112
Impacted Files Coverage Δ
tracer.go 95.88% <ø> (ø) ⬆️
tracer_options.go 79.1% <100%> (+0.97%) ⬆️
span.go 97% <95.23%> (-0.45%) ⬇️

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 7cedac8...1ba6aea. Read the comment docs.

@yurishkuro yurishkuro merged commit 8aaaade into jaegertracing:master Jan 13, 2020
@funny-falcon funny-falcon deleted the span-logs-limit branch January 14, 2020 11:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support a limit on the number of logs
2 participants