Skip to content

Commit

Permalink
Add information about Open Telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Jan 8, 2024
1 parent 30d87ca commit 30661af
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions documentation/docs/developer-guide/logging/opentelemetry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Open Telemetry logging


```
"app__OpenTelemetry__TracesEndpoint": "https://otlp.eu01.nr-data.net:4318/v1/traces",
"app__OpenTelemetry__MetricsEndpoint": "https://otlp.eu01.nr-data.net:4318/v1/metrics",
"app__OpenTelemetry__LogsEndpoint": "https://otlp.eu01.nr-data.net:4318/v1/logs",
"app__OpenTelemetry__Header": "api-key=EXAMPLE_KEY",
"app__OpenTelemetry__ServiceName": "starsky-dev",
```
3 changes: 3 additions & 0 deletions documentation/docs/developer-guide/logging/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ sidebar_position: 20

# Logging

## Open Telemetry logging
See [Open Telemetry logging](opentelemetry.md)

## Desktop logs

For the desktop app the logs are stored in following location:
Expand Down
2 changes: 2 additions & 0 deletions starsky/starsky/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ You could use machine specific configuration files: appsettings.machinename.json
36. `GeoFilesSkipDownloadOnStartup` Skip download of GeoFiles on startup, _recommend to keep this false or null_ - _default false_
37. `ExiftoolSkipDownloadOnStartup` Skip download of Exiftool on startup, _recommend to keep this false or null_ - _default false_
38. `AccountRolesByEmailRegisterOverwrite` Overwrite the default role for a user by email address, _default empty list_
39. `OpenTelemetry` See logging in an external service, _default no enabled_ see [OpenTelemetry](https://docs.qdraw.nl/docs/developer-guide/logging/opentelemetry.md)


### Appsettings.json example
```json
Expand Down
4 changes: 4 additions & 0 deletions starsky/telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,7 @@ You may re-enable telemetry if you'd like to re-join the program by running the

`app__EnablePackageTelemetry=true`

## OpenTelemetry

By default OpenTelemetry is disabled to collect telemetry data.
But you can setup your own provider to collect information

0 comments on commit 30661af

Please sign in to comment.