From b3e8b920020087fc5034e4350d086d00d1d056f3 Mon Sep 17 00:00:00 2001 From: jbahire Date: Wed, 10 Mar 2021 09:09:10 +0530 Subject: [PATCH 1/5] feat: adding backend_operation attribute in attributes bootstrapper --- .../hypertrace/hypertrace_backend_trace_attributes.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf index 057cf35..d2fcff1 100644 --- a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf +++ b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf @@ -171,6 +171,15 @@ commands = [ scope: BACKEND_TRACE, sources: [QS], type: ATTRIBUTE + }, + { + fqn: Backend.Trace.backend_operation, + key: spaceIds, + value_kind: TYPE_STRING, + display_name: Operation, + scope: BACKEND_TRACE, + sources: [QS], + type: ATTRIBUTE } ] } From 1e7cae86728622549b25daff78c3c8fce7267bf2 Mon Sep 17 00:00:00 2001 From: jbahire Date: Wed, 10 Mar 2021 09:34:42 +0530 Subject: [PATCH 2/5] fix: set key value to attribute name --- .../hypertrace/hypertrace_backend_trace_attributes.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf index d2fcff1..0397041 100644 --- a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf +++ b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf @@ -174,7 +174,7 @@ commands = [ }, { fqn: Backend.Trace.backend_operation, - key: spaceIds, + key: BackendOperation, value_kind: TYPE_STRING, display_name: Operation, scope: BACKEND_TRACE, From 212aa096a20630fbb04e0c2fb89fceef7b5c4f2c Mon Sep 17 00:00:00 2001 From: jbahire Date: Wed, 10 Mar 2021 09:40:29 +0530 Subject: [PATCH 3/5] fix: uses camelCase for key --- .../hypertrace/hypertrace_backend_trace_attributes.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf index 0397041..5a9245a 100644 --- a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf +++ b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf @@ -174,7 +174,7 @@ commands = [ }, { fqn: Backend.Trace.backend_operation, - key: BackendOperation, + key: backendOperation, value_kind: TYPE_STRING, display_name: Operation, scope: BACKEND_TRACE, From b1e7ea6dd54d107c8ea88f30a346044a6fe58688 Mon Sep 17 00:00:00 2001 From: jbahire Date: Thu, 11 Mar 2021 14:09:05 +0530 Subject: [PATCH 4/5] chore: renames key backendOperation to operation --- .../hypertrace/hypertrace_backend_trace_attributes.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf index 5a9245a..547ca34 100644 --- a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf +++ b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf @@ -174,7 +174,7 @@ commands = [ }, { fqn: Backend.Trace.backend_operation, - key: backendOperation, + key: operation, value_kind: TYPE_STRING, display_name: Operation, scope: BACKEND_TRACE, From 7be8a859088f6df6bbfccd9ba5ebef55503d10ad Mon Sep 17 00:00:00 2001 From: Jayesh Bapu Ahire Date: Thu, 11 Mar 2021 15:42:12 +0530 Subject: [PATCH 5/5] Update config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf Co-authored-by: kotharironak <53209990+kotharironak@users.noreply.github.com> --- .../hypertrace/hypertrace_backend_trace_attributes.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf index 547ca34..06affb0 100644 --- a/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf +++ b/config-bootstrapper/src/main/resources/configs/config-bootstrapper/attribute-service/hypertrace/hypertrace_backend_trace_attributes.conf @@ -173,7 +173,7 @@ commands = [ type: ATTRIBUTE }, { - fqn: Backend.Trace.backend_operation, + fqn: Backend.Trace.operation, key: operation, value_kind: TYPE_STRING, display_name: Operation,