Skip to content

Commit

Permalink
update demo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
puckpuck committed Dec 20, 2024
1 parent cb75eba commit 8cf6120
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ DEMO_VERSION=latest

# Build Args
TRACETEST_IMAGE_VERSION=v1.7.1
OTEL_JAVA_AGENT_VERSION=2.9.0
OPENTELEMETRY_CPP_VERSION=1.17.0
OTEL_JAVA_AGENT_VERSION=2.10.0
OPENTELEMETRY_CPP_VERSION=1.18.0

# Dependent images
COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.113.0
FLAGD_IMAGE=ghcr.io/open-feature/flagd:v0.11.4
GRAFANA_IMAGE=grafana/grafana:11.3.0
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.62.0
COLLECTOR_CONTRIB_IMAGE=ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.116.1
FLAGD_IMAGE=ghcr.io/open-feature/flagd:v0.11.5
GRAFANA_IMAGE=grafana/grafana:11.4.0
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.64.0
# must also update version field in src/grafana/provisioning/datasources/opensearch.yaml
OPENSEARCH_IMAGE=opensearchproject/opensearch:2.18.0
POSTGRES_IMAGE=postgres:17.0
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v2.55.1
POSTGRES_IMAGE=postgres:17.2
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v3.0.1
VALKEY_IMAGE=valkey/valkey:8.0-alpine
TRACETEST_IMAGE=kubeshop/tracetest:${TRACETEST_IMAGE_VERSION}

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@ services:
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
- --web.enable-otlp-receiver
- --enable-feature=exemplar-storage
- --enable-feature=otlp-write-receiver
volumes:
- ./src/prometheus/prometheus-config.yaml:/etc/prometheus/prometheus-config.yaml
deploy:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,8 @@ services:
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.route-prefix=/
- --web.enable-otlp-receiver
- --enable-feature=exemplar-storage
- --enable-feature=otlp-write-receiver
volumes:
- ./src/prometheus/prometheus-config.yaml:/etc/prometheus/prometheus-config.yaml
deploy:
Expand Down
25 changes: 19 additions & 6 deletions src/prometheus/prometheus-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,26 @@
# SPDX-License-Identifier: Apache-2.0

global:
evaluation_interval: 30s
scrape_interval: 5s
scrape_timeout: 3s
evaluation_interval: 30s

otlp:
promote_resource_attributes:
- service.instance.id
- service.name
- service.namespace
- cloud.availability_zone
- cloud.region
- container.name
- deployment.environment.name

scrape_configs:
- job_name: otel-collector
static_configs:
- targets:
- 'otel-collector:8888'

storage:
tsdb:
out_of_order_time_window: 30m
scrape_configs:
- job_name: otel-collector
static_configs:
- targets:
- 'otel-collector:8888'

0 comments on commit 8cf6120

Please sign in to comment.