mirror of
https://github.com/fosrl/newt.git
synced 2026-03-09 07:12:28 -05:00
[PR #162] [MERGED] Adding OpenTelemetry Metrics and Tracing #156
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/162
Author: @marcschaeferger
Created: 10/11/2025
Status: ✅ Merged
Merged: 10/17/2025
Merged by: @oschwartz10612
Base:
dev← Head:otel📝 Commits (4)
c086e69Adding OpenTelemetry Metrics and Tracing6d2073aRemove Coolify Codebda1d04Add documentation for cli and reporgd63d8d6Add log message that the server is on📊 Changes
31 files changed (+3522 additions, -182 deletions)
View changed files
➕
.env.example(+5 -0)📝
Dockerfile(+8 -2)📝
README.md(+75 -28)➕
docker-compose.metrics.collector.yml(+41 -0)➕
docker-compose.metrics.yml(+56 -0)➕
examples/grafana/dashboards/newt-overview.json(+898 -0)➕
examples/grafana/provisioning/dashboards/dashboard.yaml(+9 -0)➕
examples/grafana/provisioning/datasources/prometheus.yaml(+9 -0)➕
examples/otel-collector.yaml(+61 -0)➕
examples/prometheus.with-collector.yml(+16 -0)➕
examples/prometheus.yml(+21 -0)📝
go.mod(+41 -14)📝
go.sum(+92 -54)➕
internal/state/telemetry_view.go(+80 -0)➕
internal/telemetry/constants.go(+19 -0)➕
internal/telemetry/constants_test.go(+32 -0)➕
internal/telemetry/metrics.go(+542 -0)➕
internal/telemetry/metrics_test_helper.go(+59 -0)➕
internal/telemetry/state_view.go(+106 -0)➕
internal/telemetry/telemetry.go(+384 -0)...and 11 more files
📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
How to test?
Closes https://github.com/fosrl/newt/issues/131
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.