-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable metric integration test for req-blocking (#2445)
- Loading branch information
1 parent
9011f63
commit fbcba3b
Showing
5 changed files
with
35 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ | |
"shoppingcart", | ||
"struct", | ||
"Tescher", | ||
"testresults", | ||
"tracerprovider", | ||
"updown", | ||
"Zhongyang", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
# OTLP - Integration Tests | ||
This directory contains integration tests for `opentelemetry-otlp`. It uses | ||
[testcontainers](https://testcontainers.com/) to start an instance of the OTEL collector using [otel-collector-config.yaml](otel-collector-config.yaml), which then uses a file exporter per signal to write the output it receives back to the host machine. | ||
|
||
The tests connect directly to the collector on `localhost:4317` and `localhost:4318`, push data through, and then check that what they expect | ||
has popped back out into the files output by the collector. | ||
This directory contains integration tests for `opentelemetry-otlp`. It uses | ||
[testcontainers](https://testcontainers.com/) to start an instance of the OTEL | ||
collector using [otel-collector-config.yaml](otel-collector-config.yaml), which | ||
then uses a file exporter per signal to write the output it receives back to the | ||
host machine. | ||
|
||
The tests connect directly to the collector on `localhost:4317` and | ||
`localhost:4318`, push data through, and then check that what they expect has | ||
popped back out into the files output by the collector. | ||
|
||
## Pre-requisites | ||
|
||
For this to work, you need a couple of things: | ||
* Docker, for the test container | ||
* TCP/4317 and TCP/4318 free on your local machine. If you are running another collector, you'll need to stop it for the tests to run | ||
* TCP/4317 and TCP/4318 free on your local machine. If you are running another | ||
collector, you'll need to stop it for the tests to run. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters