Skip to content
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: streaming logging with any forwarding in tools #2024

Open
DerekRoberts opened this issue Jun 26, 2024 · 0 comments
Open

feat: streaming logging with any forwarding in tools #2024

DerekRoberts opened this issue Jun 26, 2024 · 0 comments

Comments

@DerekRoberts
Copy link
Member

"""
Suppose it depends on what business wants to do with the logs, but we wanted to get alerted about any errors or unusual spikes in logging activity. We ended up implementing a small python agent running in our Tools namespace that runs aggregation queries periodically (~ every 5 mins) against Elasticsearch and then making the counts available on a Prometheus /metrics endpoint. With annotations on this Pod, this can automatically be scraped by SysdigCloud and then be used to generate Alerts.

The advantage is that we get metrics about log activity across all our Pods without having to individually deal with sidecars. One drawback is that there can be a lag in getting logs into Elasticsearch. You also have to be mindful about how frequent you are querying Elasticsearch. This drawback is w... Read more
"""

https://stackoverflow.developer.gov.bc.ca/questions/147

@DerekRoberts DerekRoberts converted this from a draft issue Jun 26, 2024
@DerekRoberts DerekRoberts moved this from New to Backlog in DevOps (NR) Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant