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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package datadog-symfony

Symfony datadog integration

Symfony Datadog integration to monitor and track for application errors and send notifications about them.

Tests Latest Stable Version Latest Unstable Version Total Downloads License

Benefits

Use datadog-symfony for:

Install

Install using composer following the official Composer documentation:

  1. Install via composer:

  2. And add this bundle to your AppKernel:

For Symfony 4+ add bundle to config/bundles.php

  1. 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

PHP Build Version
Package Version
Requires php Version >=7.4
symfony/framework-bundle Version ^4.4 || ^5.4 || ^6.0 || ^7.0
graze/dog-statsd Version ^0.4 || ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package okvpn/datadog-symfony contains the following files

Loading the files please wait ....