Download the PHP package metrics-tracker/watchlog without Composer
On this page you can find all versions of the php package metrics-tracker/watchlog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download metrics-tracker/watchlog
More information about metrics-tracker/watchlog
Files in metrics-tracker/watchlog
Download metrics-tracker/watchlog
More information about metrics-tracker/watchlog
Files in metrics-tracker/watchlog
Vendor metrics-tracker
Package watchlog
Short Description A PHP package for sending metrics.
License MIT
Package watchlog
Short Description A PHP package for sending metrics.
License MIT
Please rate this library. Is it a good library?
Informations about the package watchlog
Watchlog PHP Client
🔗 Website: https://watchlog.io
A lightweight PHP client for sending custom metrics to the Watchlog monitoring platform.
Installation
Install the package via Composer:
Basic Usage
Docker Setup
When running your PHP app in Docker, you can specify the agent URL explicitly:
Docker Compose Example:
Docker Run Example:
Environment Detection
The package automatically detects the runtime environment:
- Local / non-K8s:
http://127.0.0.1:3774 - Kubernetes:
http://watchlog-node-agent.monitoring.svc.cluster.local:3774
Manual Override: You can override the endpoint by passing agentUrl parameter to the constructor:
Important Notes:
- When using Docker, use the container name as the hostname (e.g.,
watchlog-agent) - Both containers must be on the same Docker network
- The agent must be running before your app starts
- If
agentUrlis not provided, auto-detection will be used (local or Kubernetes) - All operations are asynchronous and fail-safe
License
MIT © Watchlog
All versions of watchlog with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^7.0
The package metrics-tracker/watchlog contains the following files
Loading the files please wait ...