Skip to content

Commit

Permalink
jaeger api endpoint for admin (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafchen-dig authored Jan 29, 2025
1 parent 88d24c6 commit e709beb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
9 changes: 8 additions & 1 deletion charts/digma-ng/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# digma-ng

![Version: 1.0.278](https://img.shields.io/badge/Version-1.0.278-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.210](https://img.shields.io/badge/AppVersion-0.3.210-informational?style=flat-square)



![Version: 1.0.278](https://img.shields.io/badge/Version-1.0.278-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.210](https://img.shields.io/badge/AppVersion-0.3.210-informational?style=flat-square)

A Helm chart containing Digma's services

**Homepage:** <https://github.com/digma-ai/digma>




## License Key
Digma will not function without a valid license key.
You can obtain a license key by signing up for a free account using this [link](https://digma.ai/sign-up/).
Expand All @@ -26,6 +32,7 @@ helm upgrade --install digma digma/digma-ng -n digma --set digma.licenseKey=$DIG

This chart bootstraps a [Digma](https://digma.ai) deployment on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.


## Prerequisites

- Kubernetes 1.23+
Expand Down
11 changes: 11 additions & 0 deletions charts/digma-ng/files/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ http {
gzip_types application/javascript application/json font/ttf font/woff font/woff2 image/svg+xml image/x-icon image/vnd.microsoft.icon image/gif image/png text/css text/javascript text/html;
gzip_min_length 1000;


location /health {
access_log off;
return 200 'OK';
Expand Down Expand Up @@ -53,6 +54,16 @@ http {
try_files $uri /admin/index.html;
}

location /jaeger/api/ {
proxy_pass http://jaeger/api/;
proxy_set_header X-Original-URI $request_uri;

auth_request /auth/validate;
auth_request_set $auth_cookies $upstream_http_set_cookie;
add_header Set-Cookie $auth_cookies;
auth_request_set $auth_fail_reason $upstream_http_x_auth_fail_reason;
}

location /api/ {
proxy_pass {{ include "digma.analytics-api.protocol" .}}://digma/;
proxy_set_header X-Original-URI $request_uri;
Expand Down
1 change: 1 addition & 0 deletions charts/digma-ng/templates/ui/ui-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ data:
window.areInsightSuggestionsEnabled = {{ .Values.ai.enabled }};
window.isJaegerEnabled = true;
window.jaegerURL = "{{ include "digma.jaeger.publicBaseUrl" . }}";
window.jaegerApiPath = "/jaeger/api";
window.platform = "Web";
ide-launcher-env.js: |
window.platform = "Web";
Expand Down

0 comments on commit e709beb

Please sign in to comment.