9 Commits
Author SHA1 Message Date
zeekayandHanzo Dev c145eeae04 feat(handler): add HandlerOpts.DisableCompression (prom-compat; native handler serves uncompressed)
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-06-30 16:02:19 -07:00
Zach Kelling f81ef1abac chore: sync with node requirements, add profiler package 2026-01-12 14:44:37 -08:00
Zach Kelling b5895fc4fd fix: correct histogram label in InstrumentMetricHandler
Change duration histogram label from "handler" to "code" to match
promhttp.InstrumentHandlerDuration which labels by HTTP status code.
2025-12-11 05:19:11 +00:00
Zach Kelling 4d74ac13af fix: update dependencies and ensure prometheus wrapping works
- Fixed go.mod dependencies
- Prometheus wrapped internally, not exposed externally
- Compatible with node package metrics
2025-09-19 05:37:07 +00:00
Hanzo Dev 96b92f8c66 fix: Address CI linting errors
- Replace deprecated expfmt.FmtText with expfmt.NewFormat(expfmt.TypeTextPlain)
- Remove unused noopTimer and noopRegistry types
- Fix embedded field selector in CollectorAdapter
- Use typed context key in tests to avoid SA1029
- Simplify type inference in tests
2025-08-12 16:09:23 -05:00
Hanzo Dev a487ab71dd fix: Remove extra blank line in handler.go 2025-08-12 16:04:49 -05:00
Hanzo Dev d2db673c34 fix: Format code with gofmt and update dependencies
- Apply gofmt formatting to all Go files
- Update dependencies to latest versions
- Add missing newlines at end of files
- Fix CI workflow issues
2025-08-12 13:52:11 -05:00
Hanzo Dev 4d387a5a60 feat: Add comprehensive context propagation support for Prometheus metrics
- Implement CollectorWithContext and GathererWithContext interfaces
- Add ContextRegistry for managing context-aware collectors
- Create HTTP handler with automatic timeout handling via X-Prometheus-Scrape-Timeout-Seconds
- Support request-scoped metrics filtering via context values
- Add backward-compatible adapters for standard collectors
- Include comprehensive test suite with timeout and cancellation tests
- Add detailed README and LLM.md documentation
- Create Makefile for CI/CD pipeline
- Update dependencies to latest versions
2025-08-12 13:44:35 -05:00
Hanzo Dev ffcee0c212 Add context propagation and HTTP handler improvements 2025-08-12 13:31:59 -05:00