Skip to content

Commit

Permalink
feat(demo): update helm chart and docker deployments, support rum and…
Browse files Browse the repository at this point in the history
… no rum deployments (#8)

* feat(chart): update versions
* fix(values): cleanup invalid keys, update images
* chore(notes): update
* feat(yaml): conditional deployment for rum frontend
* chore(clicker): update yaml
* feat(demo): add no rum deployment
* feat(env): update env vars
* fix(compose): update and fix services
* docs(readme): update
  • Loading branch information
mat-rumian authored Mar 24, 2023
1 parent adedc92 commit 171f4d6
Show file tree
Hide file tree
Showing 10 changed files with 569 additions and 88 deletions.
15 changes: 12 additions & 3 deletions sumo_deployments/docker-compose/.env
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
# Sumo Logic OTel Distro
SUMO_IMAGE_NAME=public.ecr.aws/sumologic/sumologic-otel-collector
SUMO_IMAGE_VERSION=0.69.0-sumo-0
SUMO_IMAGE_VERSION=0.73.0-sumo-1

# Resource Attributes
RESOURCE_ATTRIBUTES="deployment.environment=development,application=opentelemetry-demo"

# OpenTelemetry-Demo compose
IMAGE_VERSION=v1.2.1
IMAGE_VERSION=1.3.1
IMAGE_NAME=ghcr.io/open-telemetry/demo

# Collector
OTEL_EXPORTER_OTLP_ENDPOINT=http://sumo-otel-distro:4317
OTEL_COLLECTOR_HOST=sumo-otel-distro
OTEL_COLLECTOR_PORT=4317
OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT}
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT}
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT}
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT}
PUBLIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:4318/v1/traces

# Exporter protocol configuration
OTEL_TRACES_EXPORTER=otlp
OTEL_METRICS_EXPORTER=otlp
OTEL_LOGS_EXPORTER=otlp

# Metrics Temporality
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
Expand Down
29 changes: 23 additions & 6 deletions sumo_deployments/docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,37 @@ You will need the:

## Deployment

### OpenTelemetry Demo with Sumo Logic Real User Monitoring

1. Set environment variables used to configure [Sumo Logic OTel Distro](https://github.com/SumoLogic/sumologic-otel-collector)
and [Sumo Logic Real User Monitoring](https://help.sumologic.com/docs/apm/real-user-monitoring/)

```bash
export SUMO_RUM_URL=YOUR_SUMO_LOGIC_RUM_URL
```bash
export SUMO_RUM_URL=YOUR_SUMO_LOGIC_RUM_URL
export SUMO_INSTALLATION_TOKEN=YOUR_GENERATED_SUMO_INSTALLATION_TOKEN
export SUMO_COLLECTOR_NAME=YOUR_COLLECTOR_NAME
```

1. Run:

```bash
docker-compose up
```

### OpenTelemetry Demo without Sumo Logic Real User Monitoring

1. Set environment variables used to configure [Sumo Logic OTel Distro](https://github.com/SumoLogic/sumologic-otel-collector)

```bash
export SUMO_INSTALLATION_TOKEN=YOUR_GENERATED_SUMO_INSTALLATION_TOKEN
export SUMO_COLLECTOR_NAME=YOUR_COLLECTOR_NAME
```
```

1. Run:

```bash
docker-compose up
```
```bash
docker-compose up -f docker-compose-no-rum.yaml
```

## Application access

Expand Down
Loading

0 comments on commit 171f4d6

Please sign in to comment.