Download the PHP package romainnorberg/datadog-api without Composer
On this page you can find all versions of the php package romainnorberg/datadog-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download romainnorberg/datadog-api
More information about romainnorberg/datadog-api
Files in romainnorberg/datadog-api
Package datadog-api
Short Description The missing DataDog API PHP Wrapper! A lightweight package to fetch metrics from Datadog
License MIT
Informations about the package datadog-api
NON OFFICIAL PACKAGE
The missing DataDog API PHP Wrapper! A lightweight package to fetch metrics from Datadog
Actual scope
-
Metrics doc
- ✅ Get active list
- ✅ Get metadata
- ✅ Query timeseries points
Edit metadataSearchSubmit metrics
- Downtimes doc
- ✅ Get all downtimes
Cancel a downtimeCancel downtimes by scopeGet a downtimeSchedule a downtimeUpdate a downtime
Installation
You can install the package via composer:
Usage / examples
Instantiation
Metrics
Fetching metrics
Get max values for a specific period
|----^-------|
Using $metrics->maxPoint()
provide the highest point for the requested period.
Using $metrics->maxPointBySerie()
provide highest points by serie for the requested period. By example if you query by host, you can retrieve max point by host.
Downtimes
Get all downtimes
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Romain Norberg
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of datadog-api with dependencies
ext-json Version *
netresearch/jsonmapper Version ^4.1
symfony/config Version ^6.2
symfony/dependency-injection Version ^6.2
symfony/http-client Version ^6.2
symfony/yaml Version ^6.2