https://github.com/sourcegraph/datadog-test-services
Test services for Datadog Service Map extension
https://github.com/sourcegraph/datadog-test-services
Last synced: 4 months ago
JSON representation
Test services for Datadog Service Map extension
- Host: GitHub
- URL: https://github.com/sourcegraph/datadog-test-services
- Owner: sourcegraph
- Created: 2021-07-20T14:44:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-08T06:57:24.000Z (about 4 years ago)
- Last Synced: 2025-09-30T07:34:38.744Z (4 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Datadog Service Map Sourcegraph extension test services
Grab the DATADOG_API_KEY from the datadog [website](https://app.datadoghq.com/organization-settings/api-keys)
Run:
```
docker run -d -v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /proc/:/host/proc/:ro \
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \
-p 127.0.0.1:8126:8126/tcp \
-e DD_API_KEY= \
-e DD_APM_ENABLED=true \
-e DD_SITE=datadoghq.com \
gcr.io/datadoghq/agent:latest
```
Once the reporting agent is up, run the following two services:
```
node node-1/index.js & node node-2/index.js
```