Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friendsofopentelemetry/slim-test
A Slim test with OpenTelemetry PHP
https://github.com/friendsofopentelemetry/slim-test
nix opentelemetry opentelemetry-php php slim-framework
Last synced: about 2 months ago
JSON representation
A Slim test with OpenTelemetry PHP
- Host: GitHub
- URL: https://github.com/friendsofopentelemetry/slim-test
- Owner: FriendsOfOpenTelemetry
- Created: 2023-11-04T13:45:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-22T21:54:37.000Z (about 1 year ago)
- Last Synced: 2024-07-29T19:25:36.440Z (5 months ago)
- Topics: nix, opentelemetry, opentelemetry-php, php, slim-framework
- Language: PHP
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# OpenTelemetry PHP & Nix
> This is a test repository.
# Usage
1. Setup environment by allowing `.envrc` file with `direnv allow`
2. Install Composer dependencies with `composer install`## Trace
Run `php -S localhost:8000 trace.php`
Then navigate to .
## Metric
Run `php -S localhost:8001 metric.php`
Then navigate to .
# Explore traces & metrics
Run `docker-compose up -d` and navigate to .
- Exported metrics by Otel Collector:
- Collected metrics by Prometheus: