-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from OneLiteFeatherNET/feat/opentelemetry
Feat/opentelemetry
- Loading branch information
Showing
18 changed files
with
465 additions
and
112 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 |
---|---|---|
|
@@ -6,3 +6,4 @@ common/target/ | |
codegen/target/ | ||
tests/ | ||
docs/ | ||
Makefile.toml |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Verify the deployment | ||
|
||
To verify and test the deployment of FeedbackFusion, you can run the integration tests. The following prerequisites and instructions will guide you through the process. | ||
|
||
## Prerequisites | ||
|
||
- **Rust** installed on your machine. | ||
- **cargo-make** installed. You can install it using the following command: | ||
```sh | ||
cargo install cargo-make | ||
``` | ||
- The FeedbackFusion application must be accessible on port 8000 on the machine where the tests are executed. This can be achieved via port-forwarding if using Kubernetes. | ||
- Override the `OIDC_PROVIDER`, `CLIENT_ID` and `CLIENT_SECRET` in the Makefile. | ||
|
||
## Running Integration Tests | ||
|
||
To run the integration tests, execute the following command: | ||
|
||
```sh | ||
cargo make integration_test |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Logging | ||
|
||
FeedbackFusion uses the `RUST_LOG` environment variable to control the default logging level of the process. The following table lists the possible values for `RUST_LOG` and describes what each level typically outputs. | ||
|
||
| Level | Description | | ||
|---------|---------------------------------------------------------------------------------------------------| | ||
| ERROR | Logs only error messages. | | ||
| WARN | Logs warnings and error messages. | | ||
| INFO | Logs informational messages, warnings, and error messages. | | ||
| DEBUG | Logs debug information, including database requests, informational messages, warnings, and errors.| | ||
| TRACE | Logs everything, including trace-level information, debug information, database requests, informational messages, warnings, and errors. | |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
# Distributed Tracing | ||
|
||
FeedbackFusion supports distributed tracing using the OpenTelemetry Protocol (OTLP) utilizing the `HeaderExtractor` in order | ||
to resolve trace parents. | ||
|
||
For more information regarding the documentation checkout the [Configuration](/docs/configuration) | ||
|
||
## Example with Jaeger | ||
|
||
To configure FeedbackFusion to use Jaeger for distributed tracing, you need to set the `OTLP_ENDPOINT` to Jaeger's default OTLP port: | ||
|
||
```sh | ||
OTLP_ENDPOINT=http://jaeger:4317 | ||
``` |
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
Oops, something went wrong.