From b399aa6a7fa40f4e066fd1b8a6f758a8eeca846c Mon Sep 17 00:00:00 2001 From: tvallin Date: Tue, 12 Dec 2023 09:38:19 +0100 Subject: [PATCH 1/3] fix zipkin config Signed-off-by: tvallin --- .../archetype/se/custom/observability.xml | 43 +++++++++---------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/archetypes/helidon/src/main/archetype/se/custom/observability.xml b/archetypes/helidon/src/main/archetype/se/custom/observability.xml index 83fd5ebf7c2..c6eed034c42 100644 --- a/archetypes/helidon/src/main/archetype/se/custom/observability.xml +++ b/archetypes/helidon/src/main/archetype/se/custom/observability.xml @@ -30,31 +30,30 @@ + service: "helidon-service" + protocol: "http" + host: "localhost" + port: 9411 + api-version: 1 + # this is the default path for API version 2 + path: "/api/v2/spans" + tags: + tag1: "tag1-value" + tag2: "tag2-value" + boolean-tags: + tag3: true + tag4: false + int-tags: + tag5: 145 + tag6: 741]]> Date: Tue, 12 Dec 2023 14:10:44 +0100 Subject: [PATCH 2/3] fix zipkin documentation Signed-off-by: tvallin --- docs/includes/tracing/tracer-zipkin.adoc | 33 ++++++++++++------------ 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/docs/includes/tracing/tracer-zipkin.adoc b/docs/includes/tracing/tracer-zipkin.adoc index 7ddfd33e72c..1c0b60223eb 100644 --- a/docs/includes/tracing/tracer-zipkin.adoc +++ b/docs/includes/tracing/tracer-zipkin.adoc @@ -47,23 +47,22 @@ The following is an example of a Zipkin configuration, specified in the YAML for [source,yaml] ---- tracing: - zipkin: - service: "helidon-service" - protocol: "https" - host: "zipkin" - port: 9987 - api-version: 1 - # this is the default path for API version 2 - path: "/api/v2/spans" - tags: - tag1: "tag1-value" - tag2: "tag2-value" - boolean-tags: - tag3: true - tag4: false - int-tags: - tag5: 145 - tag6: 741 + service: "helidon-service" + protocol: "https" + host: "zipkin" + port: 9987 + api-version: 1 + # this is the default path for API version 2 + path: "/api/v2/spans" + tags: + tag1: "tag1-value" + tag2: "tag2-value" + boolean-tags: + tag3: true + tag4: false + int-tags: + tag5: 145 + tag6: 741 ---- Example of Zipkin trace: From 948f1e2447225389c783b49579d5ad97d3c4d1dd Mon Sep 17 00:00:00 2001 From: tvallin Date: Tue, 12 Dec 2023 14:45:16 +0100 Subject: [PATCH 3/3] copyright Signed-off-by: tvallin --- docs/includes/tracing/tracer-zipkin.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/includes/tracing/tracer-zipkin.adoc b/docs/includes/tracing/tracer-zipkin.adoc index 1c0b60223eb..dad8b7097aa 100644 --- a/docs/includes/tracing/tracer-zipkin.adoc +++ b/docs/includes/tracing/tracer-zipkin.adoc @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// - Copyright (c) 2019, 2022 Oracle and/or its affiliates. + Copyright (c) 2019, 2023 Oracle and/or its affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.