Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ final class IncubatingAttributes {
AttributeKey.stringKey("cloud.resource_id");

public static final class CloudPlatformIncubatingValues {
public static final String AZURE_VM = "azure_vm";
public static final String AZURE_AKS = "azure_aks";
public static final String AZURE_FUNCTIONS = "azure_functions";
public static final String AZURE_APP_SERVICE = "azure_app_service";
public static final String AZURE_VM = "azure.vm";
public static final String AZURE_AKS = "azure.aks";
public static final String AZURE_FUNCTIONS = "azure.functions";
public static final String AZURE_APP_SERVICE = "azure.app_service";

private CloudPlatformIncubatingValues() {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void defaultValues() {
createResource(DEFAULT_ENV_VARS)
.containsEntry(SERVICE_NAME, TEST_WEBSITE_SITE_NAME)
.containsEntry(CLOUD_PROVIDER, "azure")
.containsEntry(CLOUD_PLATFORM, "azure_app_service")
.containsEntry(CLOUD_PLATFORM, "azure.app_service")
.containsEntry(
CLOUD_RESOURCE_ID,
"/subscriptions/TEST_WEBSITE_OWNER_NAME/resourceGroups/TEST_WEBSITE_RESOURCE_GROUP/providers/Microsoft.Web/sites/TEST_WEBSITE_SITE_NAME")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AzureFunctionsResourceProviderTest {
void defaultValues() {
createResource(DEFAULT_ENV_VARS)
.containsEntry(CLOUD_PROVIDER, "azure")
.containsEntry(CLOUD_PLATFORM, "azure_functions")
.containsEntry(CLOUD_PLATFORM, "azure.functions")
.containsEntry(FAAS_NAME, TEST_WEBSITE_SITE_NAME)
.containsEntry(FAAS_VERSION, TEST_FUNCTION_VERSION)
.containsEntry(FAAS_INSTANCE, TEST_WEBSITE_INSTANCE_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ tasks {
exceptionFormat = TestExceptionFormat.FULL
showStandardStreams = true
}

configure<JacocoTaskExtension> {
// only care about code coverage for code in this repository
// (in particular avoiding netty classes which sometimes end up
Expand Down
10 changes: 5 additions & 5 deletions dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ dependencies {
// under JvmTestSuite so they don't show up as runtime dependencies in license and vulnerability scans
// (the constraints section below doesn't have this issue, and will only show up
// as runtime dependencies if they are actually used as runtime dependencies)
api(enforcedPlatform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${otelInstrumentationVersion}"))
api(enforcedPlatform("com.fasterxml.jackson:jackson-bom:2.20.0"))
api(enforcedPlatform("com.google.protobuf:protobuf-bom:4.32.1"))
api(enforcedPlatform("com.squareup.okhttp3:okhttp-bom:5.1.0"))
api(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${otelInstrumentationVersion}"))
api(platform("com.fasterxml.jackson:jackson-bom:2.20.0"))
api(platform("com.google.protobuf:protobuf-bom:4.32.1"))
api(platform("com.squareup.okhttp3:okhttp-bom:5.1.0"))

constraints {
api("io.opentelemetry.semconv:opentelemetry-semconv:${semconvVersion}")
api("io.opentelemetry.semconv:opentelemetry-semconv-incubating:${semconvVersion}")
api("io.opentelemetry.semconv:opentelemetry-semconv-incubating:${semconvVersion}-alpha")

api("com.google.auto.service:auto-service:1.1.1")
api("com.google.auto.service:auto-service-annotations:1.1.1")
Expand Down
Loading