A simple library for sending metrics directly to Datadog without requiring an agent installation
Project description
Typically, sending metrics to Datadog requires installing a Datadog agent on the same host as your service. This library provides a simpler alternative, allowing you to send metrics directly to Datadog without an agent installation. It offers basic support for counters and gauges.
from statsutil import Stats
stats = Stats(site="US3", api_key='123123123123')
stats.inc("counter1")
stats.gauge("gauge1", 10)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bfg_statsutil-0.1.1.tar.gz.
File metadata
- Download URL: bfg_statsutil-0.1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3341dbc3da342ab0948c96c35c9290d14f30251ebc262a1ea86f8bf50b05bbbc
|
|
| MD5 |
52a4fb9fbce4e910daf6f60fb835b88d
|
|
| BLAKE2b-256 |
3d9938cbe46a380635181485fdf0a5cdb8b7073f1a47c954a12fa9d105f3ce80
|
File details
Details for the file bfg_statsutil-0.1.1-py3-none-any.whl.
File metadata
- Download URL: bfg_statsutil-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3e1cc51bc56c49ac637261202e0eb3a04b24406d0570b3d5311dc8254eb371e
|
|
| MD5 |
7319affadff6cc98da4a116f3df9db0f
|
|
| BLAKE2b-256 |
c840d7a2399d27e96a8b66b720122b4eb2406b6e5c6edba8f0d33e1435b564a5
|