-
Notifications
You must be signed in to change notification settings - Fork 660
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
[Docs] Update configuring_logging_links_in_the_ui.md #5861
base: master
Are you sure you want to change the base?
Changes from 1 commit
4eb076a
0130985
3b94438
577f570
6acbfe1
c1fb886
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,11 +58,20 @@ task_logs: | |
plugins: | ||
logs: | ||
templates: | ||
- displayName: <name-to-show> | ||
- displayName: AWS CloudWatch Logs | ||
templateUris: | ||
pranshustuff marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- "https://console.aws.amazon.com/cloudwatch/home?region={{.region}}#logEventViewer:group={{.logGroup}};stream=var.log.containers.{{.podName}}_{{.namespace}}_{{.containerName}}-{{.containerId}}.log" | ||
prerequisites: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please move the prerequisites to be a note outside of the code block as this is not a supported field. |
||
- EKS Cluster enabled with CloudWatch Observability Add-on | ||
- Ensure the pod emits logs to CloudWatch log streams | ||
- displayName: GCP Stackdriver Logs | ||
templateUris: | ||
- "https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEventViewer:group=/flyte-production/kubernetes;stream=var.log.containers.{{.podName}}_{{.namespace}}_{{.containerName}}-{{.containerId}}.log" | ||
- "https://some-other-source/home?region=us-east-1#logEventViewer:group=/flyte-production/kubernetes;stream=var.log.containers.{{.podName}}_{{.namespace}}_{{.containerName}}-{{.containerId}}.log" | ||
messageFormat: 0 # this parameter is optional, but use 0 for "unknown", 1 for "csv", or 2 for "json" | ||
- "https://console.cloud.google.com/logs/viewer?project={{.gcpProject}}&resource=k8s_container&advancedFilter=resource.labels.pod_name={{.podName}}&resource.labels.container_name={{.containerName}}&resource.labels.namespace_id={{.namespace}}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I haven't tested this one but comparing with a working environment the structure is different. Let's leave this for a different PR |
||
- displayName: Kubernetes Dashboard Logs | ||
templateUris: | ||
- "{{.kubernetesUrl}}/namespace/{{.namespace}}/pods/{{.podName}}/logs/{{.containerName}}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, haven't tried this and couldn't speak about the requirements so let's leave it out from this PR |
||
messageFormat: 0 # Optional: 0 = "unknown", 1 = "csv", 2 = "json" | ||
|
||
``` | ||
|
||
:::{tip} | ||
|
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.
So the YAML structure would be: