Skip to content

Commit

Permalink
remove tenant_id_ and cluster_id_ (unintentionally re-added during re…
Browse files Browse the repository at this point in the history
…base)

Signed-off-by: thomas.ebner <[email protected]>
  • Loading branch information
samohte committed Feb 5, 2024
1 parent 996aa44 commit ecd8336
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ DynatraceSampler::DynatraceSampler(
const envoy::extensions::tracers::opentelemetry::samplers::v3::DynatraceSamplerConfig& config,
Server::Configuration::TracerFactoryContext& context,
SamplerConfigFetcherPtr sampler_config_fetcher)
: tenant_id_(config.tenant_id()), cluster_id_(config.cluster_id()),
dt_tracestate_key_(absl::StrCat(absl::string_view(config.tenant_id()), "-",
: dt_tracestate_key_(absl::StrCat(absl::string_view(config.tenant_id()), "-",
absl::string_view(config.cluster_id()), "@dt")),
sampling_controller_(std::move(sampler_config_fetcher)) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ class DynatraceSampler : public Sampler, Logger::Loggable<Logger::Id::tracing> {
std::string getDescription() const override;

private:
std::string tenant_id_;
std::string cluster_id_;
std::string dt_tracestate_key_;
Event::TimerPtr timer_;
SamplingController sampling_controller_;
Expand Down

0 comments on commit ecd8336

Please sign in to comment.