- define settings for jaeger url, enabling/disabling and sampling probability in globals
- have tracing disabled by default
Issue-ID: AAI-4152
Change-Id: I061ac681fc4dcb079a326d0c58dd5160255955c4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
tosca.mappings.config=${CONFIG_HOME}/tosca-mappings.json
spring.application.name=aai-babel
-spring.sleuth.enabled={{ default .Values.global.tracing.enabled .Values.tracing.enabled }}
-spring.zipkin.baseUrl={{ default .Values.global.tracing.collector.baseUrl .Values.tracing.collector.baseUrl }}
+spring.sleuth.enabled={{ .Values.global.tracing.enabled }}
+spring.zipkin.baseUrl={{ .Values.global.tracing.collector.baseUrl }}
spring.sleuth.messaging.jms.enabled = false
spring.sleuth.trace-id128=true
-spring.sleuth.sampler.probability={{ default .Values.global.tracing.sampling.probability .Values.tracing.collector.baseUrl }}
+spring.sleuth.sampler.probability={{ .Values.global.tracing.sampling.probability }}
spring.sleuth.propagation.type=w3c, b3
spring.sleuth.supports-join=false
tracing:
enabled: false
collector:
- baseUrl: http://jaeger-collector.istio-system:9411
+ baseUrl: http://jaeger-collector.istio-config:9411
sampling:
probability: 1.0
memory: "1Gi"
unlimited: {}
-##
-## Use this to override the global defaults
-tracing:
-# enabled: false
- collector: {}
-# baseUrl: http://jaeger-collector.istio-system:9411
- sampling: {}
-# probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
-
# adds jvm args for remote debugging the application
debug:
enabled: false
spring.application.name=aai-model-loader
-spring.sleuth.enabled={{ .Values.tracing.enabled }}
-spring.zipkin.baseUrl={{ .Values.tracing.collector.baseUrl }}
+spring.sleuth.enabled={{ .Values.global.tracing.enabled }}
+spring.zipkin.baseUrl={{ .Values.global.tracing.collector.baseUrl }}
spring.sleuth.messaging.jms.enabled=false
spring.sleuth.trace-id128=true
-spring.sleuth.sampler.probability={{ .Values.tracing.sampling.probability }}
+spring.sleuth.sampler.probability={{ .Values.global.tracing.sampling.probability }}
spring.sleuth.propagation.type=w3c,b3
spring.sleuth.supports-join=false
spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }}
# Declare variables to be passed into your templates.
global: # global defaults
nodePortPrefix: 302
+ tracing:
+ enabled: false
+ collector:
+ baseUrl: http://jaeger-collector.istio-config:9411
+ sampling:
+ probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
+
# application image
image: onap/model-loader:1.14.2
memory: "2Gi"
unlimited: {}
+# use this to define service specific overrides
+# for the global.tracing.* config keys
tracing:
- enabled: false
- collector:
- baseUrl: http://jaeger-collector.istio-system:9411
- sampling:
- probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
ignorePatterns:
- /aai/util.*
apiVersion: v2
description: ONAP AAI resources
name: aai-resources
-version: 15.0.2
+version: 15.0.3
dependencies:
- name: common
spring.main.allow-bean-definition-overriding=true
server.servlet.context-path=/
-spring.sleuth.enabled={{ .Values.tracing.enabled }}
-spring.zipkin.baseUrl={{ .Values.tracing.collector.baseUrl }}
-spring.sleuth.messaging.jms.enabled = false
+spring.sleuth.enabled={{ .Values.global.tracing.enabled }}
+spring.zipkin.baseUrl={{ .Values.global.tracing.collector.baseUrl }}
spring.sleuth.trace-id128=true
-spring.sleuth.sampler.probability={{ .Values.tracing.sampling.probability }}
+spring.sleuth.sampler.probability={{ .Values.global.tracing.sampling.probability }}
spring.sleuth.propagation.type=w3c, b3
spring.sleuth.supports-join=false
spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }}
#Service Name of the cassandra cluster to connect to.
#Override it to aai-cassandra if localCluster is enabled.
serviceName: cassandra
+ tracing:
+ enabled: false
+ collector:
+ baseUrl: http://jaeger-collector.istio-config:9411
+ sampling:
+ probability: 1.0
# Specifies a list of jobs to be run
jobs:
unlimited: {}
tracing:
- enabled: false
- collector:
- baseUrl: http://jaeger-collector.istio-system:9411
- sampling:
- probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
ignorePatterns:
- /aai/util.*
spring.application.name=aai-schema-service
spring.jersey.type=filter
spring.main.allow-bean-definition-overriding=true
-spring.sleuth.enabled={{ .Values.tracing.enabled }}
-spring.zipkin.baseUrl={{ .Values.tracing.collector.baseUrl }}
+
+spring.sleuth.enabled={{ .Values.global.tracing.enabled }}
+spring.zipkin.baseUrl={{ .Values.global.tracing.collector.baseUrl }}
spring.sleuth.trace-id128=true
-spring.sleuth.sampler.probability={{ .Values.tracing.sampling.probability }}
+spring.sleuth.sampler.probability={{ .Values.global.tracing.sampling.probability }}
spring.sleuth.propagation.type=w3c, b3
spring.sleuth.supports-join=false
+{{- if and .Values.tracing .Values.tracing.ignorePatterns }}
+spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }}
+{{- end }}
+
server.servlet.context-path=/
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
# Declare variables to be passed into your templates.
global: # global defaults
nodePortPrefix: 302
+ tracing:
+ enabled: false
+ collector:
+ baseUrl: http://jaeger-collector.istio-config:9411
+ sampling:
+ probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
# Common configuration for resources traversal and graphadmin
config:
tracing:
enabled: false
collector:
- baseUrl: http://jaeger-collector.istio-system:9411
+ baseUrl: http://jaeger-collector.istio-config:9411
sampling:
probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
apiVersion: v2
description: ONAP AAI traversal
name: aai-traversal
-version: 15.0.2
+version: 15.0.3
dependencies:
- name: common
spring.profiles.active={{ .Values.global.config.profiles.active }}
spring.jersey.application-path=/
-spring.sleuth.enabled={{ .Values.tracing.enabled }}
-spring.zipkin.baseUrl={{ .Values.tracing.collector.baseUrl }}
-spring.sleuth.messaging.jms.enabled = false
+spring.sleuth.enabled={{ .Values.global.tracing.enabled }}
+spring.zipkin.baseUrl={{ .Values.global.tracing.collector.baseUrl }}
spring.sleuth.trace-id128=true
-spring.sleuth.sampler.probability={{ .Values.tracing.sampling.probability }}
+spring.sleuth.sampler.probability={{ .Values.global.tracing.sampling.probability }}
spring.sleuth.propagation.type=w3c, b3
spring.sleuth.supports-join=false
spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }}
serviceName: cassandra
# Cassandra datacenter name
localDataCenter: dc1
+ tracing:
+ enabled: false
+ collector:
+ baseUrl: http://jaeger-collector.istio-config:9411
+ sampling:
+ probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
+
# Specifies a list of jobs to be run
jobs:
# When enabled, it will create the schema based on oxm and edge rules
targetCPUUtilizationPercentage: 80
tracing:
- enabled: false
- collector:
- baseUrl: http://jaeger-collector.istio-system:9411
- sampling:
- probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
ignorePatterns:
- /aai/util.*
centralizedLoggingEnabled: false
+ tracing:
+ enabled: false
+ collector:
+ baseUrl: http://jaeger-collector.istio-config:9411
+ sampling:
+ probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
+
cassandra:
#This will instantiate AAI cassandra cluster, default:shared cassandra.
localCluster: false
blueprintsprocessor.workflow.self-service-api.audit.storeEnable={{ .Values.workflow.storeEnabled }}
#Tracing
-spring.zipkin.baseUrl={{ .Values.tracing.collector.baseUrl }}
+spring.sleuth.enabled={{ .Values.global.tracing.enabled }}
+spring.zipkin.baseUrl={{ .Values.global.tracing.collector.baseUrl }}
spring.zipkin.checkTimeout=5000
spring.zipkin.service.name={{ include "common.name" . }}
spring.sleuth.messaging.jms.enabled=false
spring.sleuth.trace-id128=true
-spring.sleuth.sampler.probability={{ .Values.tracing.sampling.probability }}
+spring.sleuth.sampler.probability={{ .Values.global.tracing.sampling.probability }}
spring.sleuth.propagation.type=w3c, b3
spring.sleuth.supports-join=false
spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }}
# This configuration specifies Service and port for SDNC OAM interface
sdncOamService: sdnc-oam
sdncOamPort: 8282
+ tracing:
+ enabled: false
+ collector:
+ baseUrl: http://jaeger-collector.istio-config:9411
+ sampling:
+ probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
# This concerns CDS/AAI communication through HTTP when TLS is not being needed
# Port value should match the one in aai/values.yml : service.externalPlainPort
aaiData:
storeEnabled: false
tracing:
- collector:
- baseUrl: http://jaeger-collector.istio-system:9411
- sampling:
- probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
ignorePatterns:
- .*/execution-service/health-check
nameOverride: mariadb-galera
# (optional) if localCluster=false and an external secret is used set this variable
#userRootSecret: <secretName>
+ tracing:
+ enabled: false
+ collector:
+ baseUrl: http://jaeger-collector.istio-config:9411
+ sampling:
+ probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
#################################################################
global:
tracing:
collector:
- baseUrl: http://jaeger-collector.istio-system:9411
+ baseUrl: http://jaeger-collector.istio-config:9411
sampling:
probability: 1.0
tracing:
# enabled: false
collector: {}
-# baseUrl: http://jaeger-collector.istio-system:9411
+# baseUrl: http://jaeger-collector.istio-config:9411
sampling: {}
# probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)