@@ -8,10 +8,11 @@ metadata:
88 component : telemetry
99 annotations :
1010 description : " Multi-agent travel planner with Traceloop translator and GenAI evaluation infrastructure using Deepeval"
11- git-commit : " 9bb8eb9 "
11+ git-commit : " 64a93d6 "
1212spec :
13- # Run every 2 minutes for testing
14- schedule : " */2 * * * *"
13+ # Run every 30 minutes from 8 AM to 5 PM PST on weekdays (Monday-Friday)
14+ schedule : " */30 8-17 * * 1-5"
15+ timeZone : " America/Los_Angeles"
1516 suspend : false
1617
1718 # Keep last 3 successful and 1 failed job for debugging
@@ -33,118 +34,118 @@ spec:
3334 restartPolicy : OnFailure
3435
3536 containers :
36- - name : travel-planner-traceloop
37- # Multi-platform image (amd64, arm64) with git commit hash tag
38- image : admehra621/travel-planner-tl-translate-evals-splunk:9bb8eb9
39- imagePullPolicy : Always
40-
41- env :
42- # === GenAI Semantic Conventions (REQUIRED) ===
43- - name : OTEL_SEMCONV_STABILITY_OPT_IN
44- value : " gen_ai_latest_experimental"
45-
46- # === OpenTelemetry Resource Attributes ===
47- - name : OTEL_RESOURCE_ATTRIBUTES
48- value : " deployment.environment=o11y-inframon-ai,git.commit.id=9bb8eb9 "
49-
50- # === Service name for telemetry ===
51- - name : OTEL_SERVICE_NAME
52- value : " travel-planner-tl-translate-evals-splunk"
53-
54- # === OpenAI Configuration ===
55- - name : OPENAI_API_KEY
56- valueFrom :
57- secretKeyRef :
58- name : openai-credentials
59- key : api-key
60-
61- - name : OPENAI_MODEL
62- value : " gpt-4o-mini"
63-
64- # === GenAI Content Capture ===
65- - name : OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT
66- value : " true"
67-
68- - name : OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT_MODE
69- value : " SPAN_AND_EVENT"
70-
71- # === GenAI Emitters Configuration ===
72- - name : OTEL_INSTRUMENTATION_GENAI_EMITTERS
73- value : " span_metric_event,splunk"
74-
75- - name : OTEL_INSTRUMENTATION_GENAI_EMITTERS_EVALUATION
76- value : " replace-category:SplunkEvaluationResults"
77-
37+ - name : travel-planner-traceloop
38+ # Multi-platform image (amd64, arm64) with git commit hash tag
39+ image : admehra621/travel-planner-tl-translate-evals-splunk:64a93d6
40+ imagePullPolicy : Always
41+
42+ env :
43+ # === GenAI Semantic Conventions (REQUIRED) ===
44+ - name : OTEL_SEMCONV_STABILITY_OPT_IN
45+ value : " gen_ai_latest_experimental"
46+
47+ # === OpenTelemetry Resource Attributes ===
48+ - name : OTEL_RESOURCE_ATTRIBUTES
49+ value : " deployment.environment=o11y-inframon-ai,git.commit.id=64a93d6 "
50+
51+ # === Service name for telemetry ===
52+ - name : OTEL_SERVICE_NAME
53+ value : " travel-planner-tl-translate-evals-splunk"
54+
55+ # === OpenAI Configuration ===
56+ - name : OPENAI_API_KEY
57+ valueFrom :
58+ secretKeyRef :
59+ name : openai-credentials
60+ key : api-key
61+
62+ - name : OPENAI_MODEL
63+ value : " gpt-4o-mini"
64+
65+ # === GenAI Content Capture ===
66+ - name : OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT
67+ value : " true"
68+
69+ - name : OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT_MODE
70+ value : " SPAN_AND_EVENT"
71+
72+ # === GenAI Emitters Configuration ===
73+ - name : OTEL_INSTRUMENTATION_GENAI_EMITTERS
74+ value : " span_metric_event,splunk"
75+
76+ - name : OTEL_INSTRUMENTATION_GENAI_EMITTERS_EVALUATION
77+ value : " replace-category:SplunkEvaluationResults"
78+
7879 # === Evaluation Settings ===
7980 # Commented out to enable all 5 default evaluations (bias, toxicity, relevance, hallucination, sentiment)
8081 # - name: OTEL_INSTRUMENTATION_GENAI_EVALS_EVALUATORS
8182 # value: "Deepeval(LLMInvocation(bias,toxicity))"
82-
83- - name : OTEL_INSTRUMENTATION_GENAI_EVALS_RESULTS_AGGREGATION
84- value : " true"
85-
86- # === GenAI Debug Flags ===
87- - name : OTEL_GENAI_EVAL_DEBUG_SKIPS
88- value : " true"
89-
90- - name : OTEL_GENAI_EVAL_DEBUG_EACH
91- value : " true"
92-
93- - name : OTEL_INSTRUMENTATION_GENAI_DEBUG
94- value : " true"
95-
96- # === OpenTelemetry Logs Exporter ===
97- - name : OTEL_LOGS_EXPORTER
98- value : " otlp"
99-
100- # === Get the host IP for Splunk OTEL agent ===
101- - name : SPLUNK_OTEL_AGENT
102- valueFrom :
103- fieldRef :
104- fieldPath : status.hostIP
105-
106- # === OpenTelemetry OTLP endpoint using Splunk agent ===
107- - name : OTEL_EXPORTER_OTLP_ENDPOINT
108- value : " http://$(SPLUNK_OTEL_AGENT):4317"
109-
110- # === OTLP Protocol (grpc) ===
111- - name : OTEL_EXPORTER_OTLP_PROTOCOL
112- value : " grpc"
113-
114- # === Exclude health check URLs ===
115- - name : OTEL_PYTHON_EXCLUDED_URLS
116- value : " ^(https?://)?[^/]+(/)?$"
117-
118- # === Enable Python logging auto instrumentation ===
119- - name : OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED
120- value : " true"
121-
122- # === Enable log correlation ===
123- - name : OTEL_PYTHON_LOG_CORRELATION
124- value : " true"
125-
126- # === Enable LangChain content capture ===
127- - name : OTEL_INSTRUMENTATION_LANGCHAIN_CAPTURE_MESSAGE_CONTENT
128- value : " true"
129-
130- # === Enable Splunk profiler ===
131- - name : SPLUNK_PROFILER_ENABLED
132- value : " true"
133-
134- # === Unbuffered Python output ===
135- - name : PYTHONUNBUFFERED
136- value : " 1"
137-
138- # === GenAI evaluation sampling rate ===
139- - name : OTEL_GENAI_EVALUATION_SAMPLING_RATE
140- value : " 1"
141-
142- # === Resource limits ===
143- resources :
144- requests :
145- memory : " 512Mi"
146- cpu : " 500m"
147- limits :
148- memory : " 1Gi"
149- cpu : " 1000m"
83+
84+ - name : OTEL_INSTRUMENTATION_GENAI_EVALS_RESULTS_AGGREGATION
85+ value : " true"
86+
87+ # === GenAI Debug Flags ===
88+ - name : OTEL_GENAI_EVAL_DEBUG_SKIPS
89+ value : " true"
90+
91+ - name : OTEL_GENAI_EVAL_DEBUG_EACH
92+ value : " true"
93+
94+ - name : OTEL_INSTRUMENTATION_GENAI_DEBUG
95+ value : " true"
96+
97+ # === OpenTelemetry Logs Exporter ===
98+ - name : OTEL_LOGS_EXPORTER
99+ value : " otlp"
100+
101+ # === Get the host IP for Splunk OTEL agent ===
102+ - name : SPLUNK_OTEL_AGENT
103+ valueFrom :
104+ fieldRef :
105+ fieldPath : status.hostIP
106+
107+ # === OpenTelemetry OTLP endpoint using Splunk agent ===
108+ - name : OTEL_EXPORTER_OTLP_ENDPOINT
109+ value : " http://$(SPLUNK_OTEL_AGENT):4317"
110+
111+ # === OTLP Protocol (grpc) ===
112+ - name : OTEL_EXPORTER_OTLP_PROTOCOL
113+ value : " grpc"
114+
115+ # === Exclude health check URLs ===
116+ - name : OTEL_PYTHON_EXCLUDED_URLS
117+ value : " ^(https?://)?[^/]+(/)?$"
118+
119+ # === Enable Python logging auto instrumentation ===
120+ - name : OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED
121+ value : " true"
122+
123+ # === Enable log correlation ===
124+ - name : OTEL_PYTHON_LOG_CORRELATION
125+ value : " true"
126+
127+ # === Enable LangChain content capture ===
128+ - name : OTEL_INSTRUMENTATION_LANGCHAIN_CAPTURE_MESSAGE_CONTENT
129+ value : " true"
130+
131+ # === Enable Splunk profiler ===
132+ - name : SPLUNK_PROFILER_ENABLED
133+ value : " true"
134+
135+ # === Unbuffered Python output ===
136+ - name : PYTHONUNBUFFERED
137+ value : " 1"
138+
139+ # === GenAI evaluation sampling rate ===
140+ - name : OTEL_GENAI_EVALUATION_SAMPLING_RATE
141+ value : " 1"
142+
143+ # === Resource limits ===
144+ resources :
145+ requests :
146+ memory : " 512Mi"
147+ cpu : " 500m"
148+ limits :
149+ memory : " 1Gi"
150+ cpu : " 1000m"
150151
0 commit comments