Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opentelemetry example #202

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

marychatte
Copy link
Member

We need to update opentelemetry example because Ktor 3.0.0 support was added in 2.10.0 release of opentelemetry-java-instrumentation
https://youtrack.jetbrains.com/issue/KTOR-7515/Add-support-for-OpenTelemetry-plugin-for-3.x.x-versions#focus=Comments-27-11070747.0-0

@marychatte marychatte self-assigned this Nov 18, 2024
@marychatte marychatte requested a review from e5l November 18, 2024 12:57
@@ -1,14 +1,16 @@
val opentelemetry_version: String by project
val opentelemetry_semconv_version: String by project
val opentelemetry_exporter_otlp_version: String by project

Check warning

Code scanning / detekt

Variable names should follow the naming convention set in the projects configuration. Warning

Variable names should match the pattern: [a-z][A-Za-z0-9]*
@@ -1,14 +1,16 @@
val opentelemetry_version: String by project
val opentelemetry_semconv_version: String by project
val opentelemetry_exporter_otlp_version: String by project
val opentelemetry_sdk_extension_autoconfigure_version: String by project

Check warning

Code scanning / detekt

Variable names should follow the naming convention set in the projects configuration. Warning

Variable names should match the pattern: [a-z][A-Za-z0-9]*

plugins {
kotlin("jvm") version "2.0.20"
id("io.ktor.plugin") version "3.0.1"
}

dependencies {
implementation("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure:$opentelemetry_version");
implementation("io.opentelemetry:opentelemetry-exporter-otlp:$opentelemetry_version");
implementation("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure:$opentelemetry_sdk_extension_autoconfigure_version");

Check warning

Code scanning / detekt

Line detected that is longer than the defined maximum line length in the code style. Warning

Line detected that is longer than the defined maximum line length in the code style.
@marychatte marychatte merged commit e2be7b2 into main Nov 18, 2024
20 of 23 checks passed
@marychatte marychatte deleted the marychatte/update-opentelemetry-example-v3 branch November 18, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants