Skip to content

Commit

Permalink
Update Datadog example documentation (#2046)
Browse files Browse the repository at this point in the history
* Update Datadog example

* Fix demo documentation

* Fixing docs

* Fixing CI
  • Loading branch information
danielbdias committed Feb 24, 2023
1 parent 9b19a64 commit a9b4ee1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 26 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yaml
Expand Up @@ -240,7 +240,7 @@ jobs:
run: |
cd examples/collector
TAG=latest docker-compose up -d
../../scripts/wait-for-port.sh 11633
docker compose logs -f > /tmp/docker-log &
- name: Run tests
run: |
find ./dist -name 'tracetest' -exec cp {} ./dist \;
Expand All @@ -249,6 +249,8 @@ jobs:
cd ./cli/smoketest
chmod +x ./run.bash
../../scripts/wait-for-port.sh 11633
TRACETEST_CLI="../../dist/tracetest" \
TAG="pr-${{ github.event.pull_request.number }}" \
TEST_ENV="${{ matrix.test_env }}" \
Expand Down
1 change: 1 addition & 0 deletions cli/smoketest/run.bash
Expand Up @@ -21,6 +21,7 @@ echo "TAG: $TAG"
echo "TEST_ENV: $TEST_ENV"
echo "TRACETEST_ENDPOINT: $TRACETEST_ENDPOINT"
echo "TRACETEST_CLI_COMMAND: $TRACETEST_CLI_COMMAND"
echo ""

echo "Setting up tracetest CLI configuration..."
cat << EOF > tests/config.yml
Expand Down
Expand Up @@ -130,17 +130,11 @@ The `tracetest.config.yaml` file contains the basic setup of connecting Tracetes
```yaml
# tracetest.config.yaml
---
postgres:
host: postgres
user: postgres
password: postgres
port: 5432
dbname: postgres
params: sslmode=disable
postgresConnString: "host=tt-postgres user=postgres password=postgres port=5432 sslmode=disable"

poolingConfig:
maxWaitTimeForTrace: 30s
retryDelay: 500ms
maxWaitTimeForTrace: 180s
retryDelay: 5s

demo:
enabled: [otel]
Expand Down
10 changes: 5 additions & 5 deletions docs/sidebars.js
Expand Up @@ -102,11 +102,11 @@ const sidebars = {
id: "configuration/connecting-to-data-stores/new-relic",
label: "New Relic",
},
// {
// type: "doc",
// id: "configuration/connecting-to-data-stores/datadog",
// label: "Datadog",
// },
{
type: "doc",
id: "configuration/connecting-to-data-stores/datadog",
label: "Datadog",
},
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/tracetest-datadog/README.md
@@ -1,4 +1,4 @@
# OpenTelemetry Demo with Tracetest and Lightstep
# OpenTelemetry Demo with Tracetest and Datadog

> [Read the detailed recipe for setting up Datadog with Tractest in our documentation.](https://docs.tracetest.io/examples-tutorials/recipes/running-tracetest-with-datadog)
Expand Down
12 changes: 2 additions & 10 deletions examples/tracetest-datadog/tracetest/tracetest.config.yaml
@@ -1,16 +1,8 @@
---
# postgres:
# host: tt-postgres
# user: postgres
# password: postgres
# port: 5432
# dbname: postgres
# params: sslmode=disable
postgresConnString: "host=tt-postgres user=postgres password=postgres port=5432 sslmode=disable"

poolingConfig:
maxWaitTimeForTrace: 30s
retryDelay: 500ms
maxWaitTimeForTrace: 180s
retryDelay: 5s

demo:
enabled: [otel]
Expand Down

0 comments on commit a9b4ee1

Please sign in to comment.