Download the PHP package okvpn/datadog-symfony without Composer
On this page you can find all versions of the php package okvpn/datadog-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download okvpn/datadog-symfony
More information about okvpn/datadog-symfony
Files in okvpn/datadog-symfony
Informations about the package datadog-symfony
Symfony datadog integration
Symfony Datadog integration to monitor and track for application errors and send notifications about them.
Benefits
Use datadog-symfony for:
- Monitor production applications in realtime.
- Application performance insights to see when performance is geting degradated.
- Access to the
okvpn_datadog.client
through the container. - Send notification about errors in Slack, email, telegram, etc.
- Create JIRA issue when some alarm/exception triggers using this plugin
Install
Install using composer following the official Composer documentation:
-
Install via composer:
- And add this bundle to your AppKernel:
For Symfony 4+ add bundle to config/bundles.php
- Base configuration to enable the datadog client in your
config.yml
Where env var looks like:
Access to client via DIC:
Custom metrics that provided by OkvpnDatadogBundle
Where app
metrics namespace.
Name | Type | Description |
---|---|---|
app.exception | counter | Track how many exception occurred in application per second |
app.doctrine.median | gauge | Median execute time of sql query (ms.) |
app.doctrine.avg | gauge | Avg execute time of sql query (ms.) |
app.doctrine.count | rate | Count of sql queries per second |
app.doctrine.95percentile | gauge | 95th percentile of execute time of sql query (ms.) |
app.exception | event | Event then exception is happens |
app.http_request | timing | Measure timing how long it takes to fully render a page |
Configuration
A more complex setup look like this config/packages/ddog.yml
:
Usage
Sets
Timing
See more metrics here DogStatsInterface
Impact on performance
Datadog bundle use UDP protocol to send custom metrics to DogStatsD collector, that usually running on localhost (127.0.0.1). Because it uses UDP, your application can send metrics without waiting for a response. DogStatsD aggregates multiple data points for each unique metric into a single data point over a period of time called the flush interval and sends it to Datadog where it is stored and available for graphing alongside the rest of your metrics.
Screencasts.
What can be done using datadog.
Datadog custom symfony dashboard
Datadog Anomaly Monitor of running consumers
Live exception event stream
Send notification about errors in telegram.
Create JIRA issue when some alarm/exception triggers
License
MIT License. See LICENSE.
All versions of datadog-symfony with dependencies
symfony/framework-bundle Version ^4.4 || ^5.4 || ^6.0 || ^7.0
graze/dog-statsd Version ^0.4 || ^1.0