Commit b0c9530 1 parent 9b24675 commit b0c9530 Copy full SHA for b0c9530
File tree 6 files changed +13
-13
lines changed
examples/MicroserviceExample
OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest
OpenTelemetry.Instrumentation.W3cTraceContext.Tests
6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ jobs:
115
115
version : [ net6.0, net7.0, net8.0 ]
116
116
steps :
117
117
- uses : actions/checkout@v4
118
- - name : Run OTLP Exporter docker- compose
119
- run : docker- compose --file=test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build
118
+ - name : Run OTLP Exporter docker compose
119
+ run : docker compose --file=test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build
120
120
121
121
w3c-trace-context-integration-test :
122
122
needs : detect-changes
@@ -133,8 +133,8 @@ jobs:
133
133
version : [ net6.0, net7.0 ]
134
134
steps :
135
135
- uses : actions/checkout@v4
136
- - name : Run W3C Trace Context docker- compose
137
- run : docker- compose --file=test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build
136
+ - name : Run W3C Trace Context docker compose
137
+ run : docker compose --file=test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build
138
138
139
139
validate-packages :
140
140
needs : detect-changes
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ Prometheus, traces to Tempo.
20
20
21
21
All these components except the test app require additional configuration to
22
22
enable Exemplar feature. To make it easy for users, these components are
23
- pre-configured to enable Exemplars, and a docker- compose is provided to spun
24
- them all up, in the required configurations.
23
+ pre-configured to enable Exemplars, and a docker compose file is provided to
24
+ spun them all up, in the required configurations.
25
25
26
26
## Pre-requisite
27
27
@@ -36,7 +36,7 @@ spins all of them with the correct configurations to support Exemplars.
36
36
Navigate to current directory and run the following:
37
37
38
38
``` sh
39
- docker- compose up -d
39
+ docker compose up -d
40
40
```
41
41
42
42
If the above step succeeds, all dependencies would be spun up and ready now. To
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ dotnet run --project WorkerService
31
31
```
32
32
33
33
Instead of running the projects individually, if you are using Docker Desktop,
34
- a ` docker- compose ` file is provided. This makes standing up the Zipkin and
34
+ a ` docker compose ` file is provided. This makes standing up the Zipkin and
35
35
RabbitMQ dependencies easy, as well as starting both applications.
36
36
37
- To run the example using ` docker- compose ` , run the following from this
37
+ To run the example using ` docker compose ` , run the following from this
38
38
directory:
39
39
40
40
``` shell
41
- docker- compose up --build
41
+ docker compose up --build
42
42
```
43
43
44
44
With everything running:
Original file line number Diff line number Diff line change 1
1
# Starts an OpenTelemetry Collector and then runs the OTLP exporter integration tests.
2
2
# This should be run from the root of the repo:
3
- # docker- compose --file=test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/docker-compose.yml --project-directory=. up --exit-code-from=tests --build
3
+ # docker compose --file=test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/docker-compose.yml --project-directory=. up --exit-code-from=tests --build
4
4
5
5
version : ' 3.7'
6
6
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class W3CTraceContextTests : IDisposable
18
18
{
19
19
/*
20
20
To run the tests, invoke docker-compose.yml from the root of the repo:
21
- opentelemetry>docker- compose --file=test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/docker-compose.yml --project-directory=. up --exit-code-from=tests --build
21
+ opentelemetry>docker compose --file=test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/docker-compose.yml --project-directory=. up --exit-code-from=tests --build
22
22
*/
23
23
private const string W3cTraceContextEnvVarName = "OTEL_W3CTRACECONTEXT" ;
24
24
private static readonly Version AspNetCoreHostingVersion = typeof ( Microsoft . AspNetCore . Hosting . Builder . IApplicationBuilderFactory ) . Assembly . GetName ( ) . Version ;
Original file line number Diff line number Diff line change 1
1
# Start a container and then run OpenTelemetry W3C Trace Context tests.
2
2
# This should be run from the root of the repo:
3
- # opentelemetry>docker- compose --file=test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/docker-compose.yml --project-directory=. up --exit-code-from=tests --build
3
+ # opentelemetry>docker compose --file=test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/docker-compose.yml --project-directory=. up --exit-code-from=tests --build
4
4
version : ' 3.7'
5
5
6
6
services :
You can’t perform that action at this time.
0 commit comments