[PR #162] [MERGED] Adding OpenTelemetry Metrics and Tracing #156

Closed
opened 2025-11-19 07:15:16 -06:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: otel


📝 Commits (4)

  • c086e69 Adding OpenTelemetry Metrics and Tracing
  • 6d2073a Remove Coolify Code
  • bda1d04 Add documentation for cli and reporg
  • d63d8d6 Add 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.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/newt/pull/162 **Author:** [@marcschaeferger](https://github.com/marcschaeferger) **Created:** 10/11/2025 **Status:** ✅ Merged **Merged:** 10/17/2025 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `otel` --- ### 📝 Commits (4) - [`c086e69`](https://github.com/fosrl/newt/commit/c086e69dd0778db513ee19fde74be005c9d6ac94) Adding OpenTelemetry Metrics and Tracing - [`6d2073a`](https://github.com/fosrl/newt/commit/6d2073a478c359d570ec4198309af1fad203858e) Remove Coolify Code - [`bda1d04`](https://github.com/fosrl/newt/commit/bda1d04f67cbc59a002e4fea325a733c081464db) Add documentation for cli and reporg - [`d63d8d6`](https://github.com/fosrl/newt/commit/d63d8d6f5ef1122861de2acd477f2643b8e9db6b) Add log message that the server is on ### 📊 Changes **31 files changed** (+3522 additions, -182 deletions) <details> <summary>View changed files</summary> ➕ `.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_ </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-19 07:15:16 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#156