-
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.
- Loading branch information
1 parent
7d664f3
commit a382c28
Showing
8 changed files
with
90 additions
and
55 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
60 changes: 60 additions & 0 deletions
60
installation/local-install/installation-troubleshooting.md
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,60 @@ | ||
# Installation Troubleshooting | ||
|
||
<details> | ||
|
||
<summary>Port conflicts</summary> | ||
|
||
If your system is using one of the default ports required by Digma, you can easily change the port configuration by modifying the Digma Docker Compose file. | ||
|
||
To change the default Digma API or Jaeger ports simply add the below: | ||
|
||
``` | ||
jaeger: | ||
image: jaegertracing/all-in-one:1.45.0 | ||
expose: | ||
- "5317" | ||
ports: | ||
- "[NEW_JAEGER_PORT]:16686" | ||
digma-compound: | ||
image: digmatic/digma-compound:0.2.249 | ||
ports: | ||
- "5050:5050" | ||
- "[NEW_API_PORT]:5051" | ||
``` | ||
|
||
If you need to change the default collector port (:5050), the change also requires an additional step of setting an environment variable as follows: | ||
|
||
``` | ||
digma-compound: | ||
image: digmatic/digma-compound:0.2.249 | ||
ports: | ||
- “[NEW_COLLECTOR_PORT:NEW_COLLECTOR_PORT” | ||
- “5051:5051" | ||
environment: | ||
- Collector.Endpoints__Default__Port=NEW_COLLECTOR_PORT | ||
``` | ||
|
||
Finally, update the new ports in the plugin settings page which you can access via the IntellIJ settings page: | ||
|
||
<img src="../../.gitbook/assets/image (24) (1).png" alt="" data-size="original"> | ||
|
||
|
||
|
||
|
||
|
||
</details> | ||
|
||
<details> | ||
|
||
<summary>Digma unstable - containers failed to connect or constantly disconnecting</summary> | ||
|
||
This is often related to memory limits related to the resources assigned to your Docker platform. When Digma is busy processing data, some of its components might use up more memory, peaking at a little over 2GB before going down again. | ||
|
||
1. Try increasing the memory available to the Docker VM to at least 3GB | ||
2. Check the docker logs for the restarting container to pick up on any issues | ||
3. If you are using Docker Desktop make sure you update it to the latest release | ||
|
||
</details> | ||
|
||
Can't find the answers you are looking for? Try out [Slack](https://join.slack.com/t/continuous-feedback/shared\_invite/zt-1hk5rbjow-yXOIxyyYOLSXpCZ4RXstgA) channel. |
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,19 @@ | ||
# Local Install Architecture | ||
|
||
<figure><img src="../../.gitbook/assets/image (30).png" alt="" width="375"><figcaption><p>Digma Local Install Architecture</p></figcaption></figure> | ||
|
||
The Digma Engine is defined in a simple Docker Compose [file](https://github.com/digma-ai/digma/blob/main/docker/docker-compose.yml) that is available online and consists of four containers: | ||
|
||
* `Digma Compound`- This container holds the Digma analytics engine for processing traces | ||
* `Digma Persistence` - DBs and storage for processing the time series data and aggregating it | ||
* `Jaeger` - An embedded Jaeger instance that also has additional features for linking spans with code | ||
* `Digma DS` - All of the data science and ML logic for detecting anomalies, calculating correlations, etc | ||
|
||
### Default Ports | ||
|
||
The following are the default ports used by Digma: | ||
|
||
* `5050` is used to collect observability data. This will use the OTEL standard so can accept traces from any OTLP exporter. | ||
* `5051` is used as a backend API for the plugin. The plugin uses it to retrieve and render the insights and processed data | ||
* `17686` is the default embedded Jaeger port. This is used to render the visualization for traces including code location data. | ||
|