Skip to content

Commit

Permalink
OTel onboarding: Update snapshot (#188008)
Browse files Browse the repository at this point in the history
Updates snapshot version for serverless OTel onboarding flow
  • Loading branch information
flash1293 authored Jul 11, 2024
1 parent 05587a2 commit 7520f28
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const OtelLogsPanel: React.FC = () => {
} = useKibana<ObservabilityOnboardingAppServices>();

const AGENT_CDN_BASE_URL = isServerless
? 'snapshots.elastic.co/8.15.0-dd63864e/downloads/beats/elastic-agent'
? 'snapshots.elastic.co/8.15.0-9bb1fcab/downloads/beats/elastic-agent'
: 'artifacts.elastic.co/downloads/beats/elastic-agent';
// TODO change once otel flow is shown on serverless
// const agentVersion = isServerless ? setup?.elasticAgentVersion : stackVersion;
Expand Down Expand Up @@ -190,6 +190,8 @@ data:
endpoints:
- \${env:ES_ENDPOINT}
api_key: \${env:ES_API_KEY}
logs_dynamic_index:
enabled: true
mapping:
mode: ecs
processors:
Expand All @@ -213,6 +215,11 @@ data:
- key: service.name
from_attribute: app.label.component
action: insert
attributes/k8s_logs_dataset:
actions:
- key: data_stream.dataset
value: "kubernetes.container_logs"
action: upsert
attributes/dataset:
actions:
- key: event.dataset
Expand Down Expand Up @@ -444,6 +451,7 @@ data:
- resource/cloud
- attributes/dataset
- resource/process
- attributes/k8s_logs_dataset
receivers:
- kubeletstats
- hostmetrics
Expand Down

0 comments on commit 7520f28

Please sign in to comment.