Open Rikj000 opened 1 year ago
I made a mistake.😂😂 This is a break change., I ignored the need to update the configuration file. You can first synchronize the configuration file from vendor/vinelab/tracing-laravel/config/tracing.php
I made a mistake.😂😂 This is a break change., I ignored the need to update the configuration file. You can first synchronize the configuration file from
vendor/vinelab/tracing-laravel/config/tracing.php
I figured it out already, just finished editing my issue description's work-around :slightly_smiling_face:
Will it be better to get it from env
?
'sampler_class' => env('ZIPKIN_SAMPLER_CLASS', \Zipkin\Samplers\BinarySampler::class),
.env
ZIPKIN_SAMPLER_CLASS="Zipkin\\Samplers\\BinarySampler"
Will it be better to get it from
env
?
I'd say exposing config
settings to the .env
,
with default
fallback values, so they're optional,
is always desirable :smile:
I added configurable parameters #51
Issue Description
Since updating to the new
v2.3.2
release,following error log gets spammed in the
laravel.log
file:Workaround
Manually add the new
tracing.zipkin.sampler_class
settings toconfig/tracing
:PR #49 - Diff of
config/tracing
Fix Suggestion
tracing.zipkin.sampler_class
settings inconfig/tracing
with default values if not set.config/tracing
changes in the ChangeLog of new releasesPR #49 - Review
Linked Issues/PRs