You've already forked wp-prometheus
feat: Add runtime metrics for HTTP requests and database queries (v0.1.0)
All checks were successful
Create Release Package / build-release (push) Successful in 59s
All checks were successful
Create Release Package / build-release (push) Successful in 59s
- Add RuntimeCollector class for tracking request lifecycle metrics - Add wordpress_http_requests_total counter (method, status, endpoint) - Add wordpress_http_request_duration_seconds histogram - Add wordpress_db_queries_total counter (endpoint) - Add wordpress_db_query_duration_seconds histogram (requires SAVEQUERIES) - Update Collector to expose stored runtime metrics - Add new settings options for enabling/disabling runtime metrics - Create translation files (.pot, .po, .mo) for internationalization - Update documentation and changelog Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
19
CHANGELOG.md
19
CHANGELOG.md
@@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.1.0] - 2026-02-02
|
||||
|
||||
### Added
|
||||
|
||||
- HTTP request metrics:
|
||||
- `wordpress_http_requests_total` - Counter of HTTP requests by method, status code, and endpoint
|
||||
- `wordpress_http_request_duration_seconds` - Histogram of request durations
|
||||
- Database query metrics:
|
||||
- `wordpress_db_queries_total` - Counter of database queries by endpoint
|
||||
- `wordpress_db_query_duration_seconds` - Histogram of query durations (requires SAVEQUERIES)
|
||||
- RuntimeCollector class for collecting metrics during WordPress request lifecycle
|
||||
- New settings options for enabling/disabling runtime metrics
|
||||
- Translation files (.pot, .po, .mo) for German (Switzerland)
|
||||
|
||||
### Changed
|
||||
|
||||
- Metrics are now categorized into static metrics (users, posts, etc.) and runtime metrics (HTTP, database)
|
||||
- Runtime metrics only collected when explicitly enabled and license is valid
|
||||
|
||||
## [0.0.2] - 2026-02-01
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user