-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Loki Log Streaming #1385
base: main
Are you sure you want to change the base?
feat: Loki Log Streaming #1385
Conversation
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
227c6a2
to
592789b
Compare
Rebased and resolved package conflicts |
@amanji there's a pull request here that refactors some startup to a |
Let's give it a try. I doubt there will be a huge impact |
Deployment URLs ready for review. |
bea4259
to
c8e0a77
Compare
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
c8e0a77
to
48818a4
Compare
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
- SERVER_LOKI_URL=${SERVER_LOKI_URL} | ||
- FRONTEND_TENANT_PROXY_URL=${FRONTEND_TENANT_PROXY_URL} | ||
- FRONTEND_LOG_STREAM_URL=${FRONTEND_LOG_STREAM_URL} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These envvars
need to be added to the chart as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See chart if its correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@esune can you confirm if the included chart changes look correct for these variables?
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
I'll update the PR to hide the log feature when the |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
@amanji it does not look like changes have been pushed since this - can you confirm? Would you be able to push the above tweak so we can move forward with reviewing/merging the pr? |
Signed-off-by: Akiff Manji <amanji@petridish.dev>
Signed-off-by: Akiff Manji <amanji@petridish.dev>
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
Getting a fail on one of the loki fields during Helm deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple minor tweaks, looks good otherwise.
@@ -29,6 +30,7 @@ data: | |||
SERVER_SMTP_SECURE: {{ .Values.ui.smtp.secure | quote }} | |||
SERVER_SMTP_USER: {{ .Values.ui.smtp.user | quote }} | |||
SERVER_TRACTION_URL: http://{{ include "tenant_proxy.fullname" . }}:{{ .Values.tenant_proxy.service.port }} | |||
SERVER_LOKI_URL: http://{{ include "loki.fullname" . }}:{{ .Values.loki.service.port }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loki.fullname
will not be available unless Loki is deployed at the same time as Traction.
I think it might be best to just use a full URL from the values file in case Loki is not being deployed with the solution. Otherwise you'll have to add Loki as a dependent chart to Traction and handle on/off scenarios.
charts/traction/values.yaml
Outdated
## @section Loki configuration | ||
## | ||
loki: | ||
## Loki service configuration | ||
## | ||
service: | ||
## @param loki.service.type Kubernetes Service type | ||
## | ||
type: ClusterIP | ||
## @param loki.service.port Port to expose for http services | ||
port: 3100 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we go with a "hard-coded" Loki url this should be able to go.
Getting a local docker error as well for me on fresh setuo Built fresh ( If I install the loki plugin I guess we could add the plugin install to the manage script? Want to support people starting up without needing logging setup so I'm not sure if there's a way to make that plugin more optional? |
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
No description provided.