Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/configuration/extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# The file format version
file_format: "0.1"
file_format: "1.0"

# Configure if the SDK is disabled or not. This is not required to be provided
# to ensure the SDK isn't disabled, the default value when this is not provided
Expand Down
2 changes: 1 addition & 1 deletion functional/configuration/shelltests/kitchen-sink.test
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SDK CREATED
severity_text : DEBUG
body : body
resource :
telemetry.sdk.version: 1.22.0
telemetry.sdk.version: 1.23.0-dev
service.version: 1.0.0
double_array_key: [1.1,2.2]
double_key: 1.1
Expand Down
2 changes: 1 addition & 1 deletion functional/configuration/shelltests/propagator_both.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite_list: "tracecontext,baggage,b3,b3multi"
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite:
Expand Down
2 changes: 1 addition & 1 deletion functional/configuration/shelltests/propagator_xray.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

propagator:
composite:
Expand Down
2 changes: 1 addition & 1 deletion functional/configuration/shelltests/sampler_jaeger.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

file_format: 1.0.0
file_format: "1.0"

tracer_provider:
processors:
Expand Down
331 changes: 330 additions & 1 deletion sdk/include/opentelemetry/sdk/configuration/configuration_parser.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#pragma once

#include <cstddef>

#include "opentelemetry/sdk/configuration/attribute_value_configuration.h"
#include "opentelemetry/sdk/configuration/attribute_value_configuration_visitor.h"
#include "opentelemetry/version.h"
Expand All @@ -25,7 +23,7 @@ class IntegerAttributeValueConfiguration : public AttributeValueConfiguration
visitor->VisitInteger(this);
}

std::size_t value;
long long value;
};

} // namespace configuration
Expand Down
Loading
Loading