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

Span processor #206

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
lac-values.yaml
my-values.yaml
my-values.yaml
stag-values.yaml
2 changes: 1 addition & 1 deletion src/digma/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
# version: this Chart version
version: 1.0.206
version: 1.0.229
name: digma
description: A Helm chart containing Digma's services and dbs
home: https://github.com/digma-ai/digma
Expand Down
8 changes: 0 additions & 8 deletions src/digma/templates/digma-measurement-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ spec:
value: {{ .Values.digmaSelfDiagnosis.otlpSamplerProbability| quote}}
- name: BACKEND_DEPLOYMENT_TYPE
value: {{ .Values.deploymentType | quote}}
- name: ThresholdOptions__RecentActivityUpdateThresholdSeconds
value: {{ .Values.traceCollectorThresholds.recentActivityUpdateThresholdSeconds | quote }}
- name: ThresholdOptions__UpsertEndpointThresholdSeconds
value: {{ .Values.traceCollectorThresholds.upsertEndpointThresholdSeconds | quote }}
- name: ThresholdOptions__UpsertSpansThresholdSeconds
value: {{ .Values.traceCollectorThresholds.upsertSpansThresholdSeconds | quote }}
- name: ThresholdOptions__UpsertSpanFlowMetadataThresholdSeconds
value: {{ .Values.traceCollectorThresholds.upsertSpanFlowMetadataThresholdSeconds | quote }}
- name: Kafka__SpanDurationSummaryCG__Workers
value: '2'
- name: Kafka__SpanDurationTotalCG__Workers
Expand Down
69 changes: 69 additions & 0 deletions src/digma/templates/external-network.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-analytics-nginx-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: analytics.stag01.digma.systems
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ tpl .Values.digmaAnalytics.host . }}
port:
number: 5051

---

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-collector-http-nginx-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/enable-debug: "true"
spec:
ingressClassName: nginx
rules:
- host: collector-http.stag01.digma.systems
http:
paths:
- path: /(.*)
pathType: ImplementationSpecific
backend:
service:
name: {{ tpl .Values.digmaCollectorApi.host . }}
port:
number: 5049

---

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-collector-grpc-nginx-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/enable-debug: "true"
nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
spec:
ingressClassName: nginx
rules:
- host: collector-grpc.stag01.digma.systems
http:
paths:
- path: /(.*)
pathType: ImplementationSpecific
backend:
service:
name: {{ tpl .Values.digmaCollectorApi.host . }}
port:
number: 5050

---

kind: Service
apiVersion: v1
metadata:
Expand Down
19 changes: 19 additions & 0 deletions src/digma/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,26 @@ presets:
replicas: 1
digmaPipelineWorker:
replicas: 1
digmaSpanProcessor:
replicas: 1
medium:
digmaCollectorWorker:
replicas: 4
digmaMeasurementAnalysis:
replicas: 4
digmaPipelineWorker:
replicas: 1
digmaSpanProcessor:
replicas: 1
large:
digmaCollectorWorker:
replicas: 6
digmaMeasurementAnalysis:
replicas: 4
digmaPipelineWorker:
replicas: 4
digmaSpanProcessor:
replicas: 4

deploymentType: Helm
exposeInternalErrorDetails: false
Expand Down Expand Up @@ -216,6 +222,19 @@ digmaMeasurementAnalysis:
}
}

digmaSpanProcessor:
replicas: "{{ index .Values.presets .Values.size \"digmaSpanProcessor\" \"replicas\" }}"
resources: {
requests: {
memory: 100Mi,
cpu: 200m
},
limits: {
memory: 500Mi,
cpu: 800m
}
}

digmaSelfDiagnosis:
otlpExportTraces: false
otlpExportMetrics: false
Expand Down
Loading