Comments (4)
Hi @ericBidcom and thanks for reporting.
Do you have a snippet of code we can use to reproduce the issue?
from php-datadogstatsd.
Hi @masci . I'm using two simple metrics:
...
$statsd->increment('request.ok');
$statsd->timing('request.time', microtime(true) - $start_time);
...
As I said, it works fine with Datadog v5.22 but when I upgrade to v6, it seems that client doesnt send the request.time metric. The dashboard only show the request.ok metric.
Let me know if you need more information
thanks!
from php-datadogstatsd.
This works for me with Agent 6.0.0:
↳ php -a
Interactive shell
php > require './src/DogStatsd.php';
php > $statsd = new DataDog\DogStatsd();
php > $statsd->timing("query.foo.time", 200);
php > $statsd->increment('page.foo.views');
Going to close this since the problem seems to be on the Agent side, maybe some configuration related issue. Can you reach out to [email protected] for further investigation?
from php-datadogstatsd.
Same thing happened to me when I upgraded. I think there must be a bug somewhere in the code migrating the v5 config over to v6. Found the culprit inside datadog.yaml
:
histogram_aggregates: []
histogram_percentiles: []
After changing to the defaults:
histogram_aggregates: ["max", "median", "avg", "count"]
histogram_percentiles: ["0.95"]
Everything started working again.
from php-datadogstatsd.
Related Issues (20)
- Unable to set gauge to 0 HOT 1
- No COUNT method?
- Constructor guards HOT 3
- Bools Tag values HOT 1
- Regression: `set()` no longer supports strings
- new release HOT 1
- ->event call's return varies based on whether UDP mode is being used
- Sample rate is affected by the locale HOT 2
- push to dogstatsd in openmetrics format
- Incompatible with upcoming PHP 8.2 release HOT 3
- Push to statsd happens in UDP which is leading to metrics being missed to reach StatsD HOT 8
- Tagged 1.5.6 as 0.5.6
- Incompatible with IPv6
- Link to Laravel Wrapper HOT 3
- typo in readme
- DNS support for UDP transport HOT 1
- BatchedDogStatsd static variables HOT 3
- It is possible to send empty events via UDP
- Depending on `error_log` may result in unseen errors HOT 10
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 php-datadogstatsd.