Comments (3)
I don't know what you're talking about. Can you give me some context?
from markus.
Oh, I see what you're talking about.
I'm going to change this issue to "Implement sets".
PyStatsd docs: http://statsd.readthedocs.io/en/v3.2.1/types.html#sets
Datadog statsd docs: http://docs.datadoghq.com/guides/dogstatsd/#sets
I'm not sure offhand how that should get implemented in the logging and cloudwatch backends. Any ideas?
from markus.
This is my understanding:
All metrics recording have the implicit concept of a quantum of time.
In the case of StatsD, the server handles aggregating these metrics, potentially from separate clients.
In the case of CloudWatch, this also happens somewhere; ie., the service does not store all the individual increments of a metric, just a value for a period.
In the case of logging, it does not happen.
In the case of logging-rollup, metrics are managed internally and aggregated for output periodically.
So, this is what I'd do:
StatsD handles this.
In the case of CloudWatch, I don't know this system, perhaps there's something. Otherwise, do as in logging-rollup.
In the case of logging, just output the func call as with the rest. I see no value for this backend.
In the case of logging-rollup, keep a set of values for the period to be rolled up. This backend is nice.
from markus.
Related Issues (20)
- support python 3.11
- fix example for AddTagFilter
- add support for disabling container id in datadog library HOT 2
- switch from flake8 to ruff
- add pytest fixture HOT 2
- consider adding on_return and on_error transform functions to timer_decorator HOT 2
- drop support for Python 3.7
- add support for Python 3.12 HOT 1
- consider switching to time-machine
- switch to ruff for formatting
- switch to pyproject.toml for build configuration
- Print markus records on assertion failure
- rename master to main HOT 1
- drop support for python 3.5 HOT 1
- add support for Python 3.9 HOT 1
- add support for Python 3.10
- drop support for Python 3.6
- switch to src/ layout
- maybe support opentelemetry?
- pytest import in `__init__.py` makes it difficult to determine when pytest is running HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markus.