Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit f3ae2c2

Browse files
author
Sébastien Dan
authored
feat: revert to otel instrumentation (#17)
1 parent 34d5cce commit f3ae2c2

19 files changed

+1539
-392
lines changed

.env.example

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ AUTH0_AUDIENCE=
22
AUTH0_ISSUER_URL=
33
REDIS_HOST=
44
REDIS_PORT=
5-
TOPOS_SUBNET_ENDPOINT_WS=
65
SUBNET_REGISTRATOR_CONTRACT_ADDRESS=
76
TOPOS_CORE_PROXY_CONTRACT_ADDRESS=
8-
TRACING_SERVICE_NAME=
9-
TRACING_SERVICE_VERSION=
10-
ELASTIC_APM_ENDPOINT=
11-
ELASTIC_APM_TOKEN=
7+
TOPOS_SUBNET_ENDPOINT_WS=
8+
9+
# telemetry
10+
OTEL_EXPORTER_OTLP_ENDPOINT=
11+
OTEL_SERVICE_NAME=
12+
OTEL_SERVICE_VERSION=

.github/workflows/test.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ jobs:
2222

2323
- run: npm ci
2424
- run: npm run test
25-
env:
26-
ELASTIC_APM_ENDPOINT: ${{ secrets.ELASTIC_APM_ENDPOINT }}
27-
ELASTIC_APM_TOKEN: ${{ secrets.ELASTIC_APM_TOKEN }}
2825

2926
e2e-tests:
3027
name: E2E tests
@@ -45,5 +42,3 @@ jobs:
4542
REDIS_HOST: ${{ vars.REDIS_HOST }}
4643
REDIS_PORT: ${{ vars.REDIS_PORT }}
4744
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
48-
ELASTIC_APM_ENDPOINT: ${{ secrets.ELASTIC_APM_ENDPOINT }}
49-
ELASTIC_APM_TOKEN: ${{ secrets.ELASTIC_APM_TOKEN }}

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@ The Executor Service requires a local environment to be set up.
3333

3434
Create an `.env` at the root of the project, with the content of `.env.example`, and fill the revelant env var values.
3535

36-
```
37-
AUTH0_AUDIENCE=
38-
AUTH0_ISSUER_URL=
39-
REDIS_HOST=
40-
REDIS_PORT=
41-
TOPOS_SUBNET_ENDPOINT_WS=
42-
SUBNET_REGISTRATOR_CONTRACT_ADDRESS=
43-
TOPOS_CORE_PROXY_CONTRACT_ADDRESS=
44-
ERC20_MESSAGING_CONTRACT_ADDRESS=
45-
```
46-
4736
### Authentication (Auth0)
4837

4938
The Executor Service leverages [Auth0](https://auth0.com/) for machine-to-machine authentication and authorization. We use Auth0's machine-to-machine service as we are not authenticating/authorizing users but applications (e.g., dApp frontends) that will use the Executor Service as a call delegation for their users' cross-subnet messages.

0 commit comments

Comments
 (0)