django-guid
awslogs
django-guid | awslogs | |
---|---|---|
6 | 8 | |
406 | 4,750 | |
0.5% | - | |
5.8 | 0.0 | |
9 days ago | about 1 month ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-guid
- GitHub - snok/django-guid: Inject an ID into every log message from a Django request. ASGI compatible, integrates with Sentry, and works with Celery
- Inject a correlation-ID into every log message from a request. Tracing and trouble shooting made easy!
-
Ask HN: How do you manage to do FOSS personal projects?
By doing it with friends. We’ve written a bunch of Python packages, such as Django-GUID[1], ASGI-Correlation-ID[2], install-poetry GitHub action[3] etc... We’re a organization on GitHub with friends who do this together. Helps when multiple can answer GitHub issues etc.
I do write some open source for work, but that too is mostly done at my spare time.
No income, but I sponsor others. FOSS is mostly to learn and do something a bit different.
[1] https://github.com/snok/django-guid
[2] https://github.com/snok/django-guid
[3] https://github.com/snok/install-poetry
- Logging in Python Like a Pro
- Ask HN: Good Python projects to read for modern Python?
- Tips for Making a Popular Open-Source Project in 2021 [Ultimate Guide]
awslogs
-
Logging in Python Like a Pro
Using the official CLI (aws logs get-log-events) or https://github.com/jorgebastida/awslogs is pretty close to SSH-ing and grepping.
- Tail log groups with CW Logs Insights?
-
I use cw, which is OSS to tail AWS CloudWatch Logs
cw is a native executable targeting your OS, and not needed external dependencies such as pip and npm. Compared to awslogs which is famous helpful tool for CloudWatch Logs1, cw is written in golang and faster.
-
What are you using to analyze/visualize CloudFront logs?
Its a command line tool but some people I know also use awslogs
-
Ask HN: Does anyone else find the AWS Lambda developer experience poor?
Not a full solution, but when I was doing this I really got to love the awslogs utility:
https://github.com/jorgebastida/awslogs
It allows you to stream Cloudwatch logs from the command line, so you can grep them, save them to files, etc... (The web based Cloudwatch interface is terrible.)
Another suggestion is to try to modularize the core business logic in your lambda such that you separate the lambda-centric stuff from the rest of it. Obviously, though, if "the rest of it" is hitting other AWS services, you're going to hit the same testing roadblock.
Or you can try mocking, which may or may not provide much value for you. There's a python library for that, (moto), but it's not 100% up to date wrt AWS services/interfaces, last I had checked. Might be worth a try though.
https://github.com/spulec/moto
-
Datadog alternatives
Cloudwatch Logs is pretty meh visually, but awslogs can give you a pretty good `tail -f`-like experience, and Insights is pretty good. Cloudwatch Metric Filters give you a 'StatsD'-like experience, in that you can log out a certain message or code and then use its appearance as a metric.
-
Cloud watch logs from console always show tail. How to show head without having to click ‘show more’ over and over again?
Check out https://github.com/jorgebastida/awslogs , you can define a `--start`, and it also has a `--watch`, and can be piped the `grep` or whatever you want. It's a pretty flexible tool.
-
DevOps tools you should have on your belt
📖 awslogs - a simple command-line tool for querying groups, streams, and events from Amazon CloudWatch logs.
What are some alternatives?
asgi-correlation-id - Request ID propagation for ASGI apps
Loguru - Python logging made (stupidly) simple
pydantic - Data validation using Python type hints
cw - The best way to tail AWS CloudWatch Logs from your terminal
pyWhat - 🐸 Identify anything. pyWhat easily lets you identify emails, IP addresses, and more. Feed it a .pcap file or some text and it'll tell you what it is! 🧙♀️
GoAccess - GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
python-logfmter - Using the stdlib logging module and without changing a single logging call, logfmter supports global (first and third party) logfmt structured logging.
serverless-offline - Emulate AWS λ and API Gateway locally when developing your Serverless project
RVS_Spinner - A Fancy "Popup Prize-Wheel Spinner" UIControl
aws-codebuild-docker-images - Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html
spleeter - Deezer source separation library including pretrained models.
faasd - A lightweight & portable faas engine