Skip to content

Dev observability stack: SigNoz integration tests, harness fix & repo hygiene#31

Merged
thorstenalpers merged 9 commits into
mainfrom
feature/dev-observability-stack
Jun 13, 2026
Merged

Dev observability stack: SigNoz integration tests, harness fix & repo hygiene#31
thorstenalpers merged 9 commits into
mainfrom
feature/dev-observability-stack

Conversation

@thorstenalpers

Copy link
Copy Markdown
Owner

Summary

Adds a SigNoz path to the local dev observability stack with full round-trip integration tests, fixes a latent test-harness bug, and does a round of repo hygiene.

Telemetry / tests

  • SigNoz integration tests (SigNozIntegrationTests): export traces, metrics and logs over OTLP HTTP (:30318) and verify ingestion via SigNoz's query_range API (:30111). New SigNozClient handles the (undocumented 0.128) auth flow + queries.
  • Auto-provisioned dev admin: signoz.bootstrap-admin.yaml Job registers admin@web.de on first boot (idempotent), wired into helm-install-signoz.cmd. Credentials are local dev-only defaults.
  • Harness fix (OtelTestHost): instantiate the Tracer/Meter providers up front so the ActivityListener and metric readers are active before spans/measurements are created — previously only logs were exported. This also fixes the OpenObserve traces/metrics tests.
  • Per-signal OTLP exporter config (gRPC → base endpoint, HttpProtobuf → v1/{traces,metrics,logs}) and a simplified integration harness (drops the unused IntegrationFact/Reachability auto-skip).

Sample app

  • WebApi applies EF Core migrations on startup.

Repo hygiene

  • Migrate the prepare-release skill from .claude/ to .agents/ and retarget all pointers (AGENTS.md, CONTRIBUTING.md, SKILL.md, .slnx); gitignore the local settings.
  • Add SECURITY.md (root) and a repo-tailored /evaluate-repository command.
  • Trim CLAUDE.md to a pure pointer; fix stale AGENTS.md test docs.
  • Fix ci.yml trailing-backtick continuation and make the tool-manifest step idempotent.

Notes

  • Integration tests are Category=Integration → excluded from CI; they need the local helm stack up.

🤖 Generated with Claude Code

thorsten added 9 commits June 13, 2026 13:38
Replace the stringly-typed signalPath argument with dedicated
ConfigureTraceExporter/ConfigureMetricExporter/ConfigureLogExporter
methods. Each names its signal; the per-signal path lives in one place
and the gRPC/HttpProtobuf endpoint logic stays in the shared core.
Drop the env-var config overrides, network Reachability probe and the
IntegrationFact/SqlIntegrationFact skip attributes; tests now run
against fixed local endpoints.
Add SigNoz helm values and a valid NodePort service (otel-collector
selector, in-range nodePorts 30317/30318), align the other helm install
scripts, and update editorconfig, solution layout and sample projects.
Export traces, metrics and logs over OTLP HTTP (port 30318) and verify
ingestion via SigNoz's query_range API. A helm bootstrap Job registers the
dev admin on first boot so the tests work without manual signup.

Also fix OtelTestHost to instantiate the Tracer/Meter providers up front, so
the ActivityListener and metric readers are active before spans/measurements
are created (previously only logs were exported).
…CI/doc fixes

- Move the prepare-release skill from .claude/ to .agents/ and retarget all
  pointers (AGENTS.md, CONTRIBUTING.md, .slnx); gitignore the local settings
- Add a repo-tailored /evaluate-repository command and SECURITY.md
- Trim CLAUDE.md to a pure pointer (its notes already live in AGENTS.md)
- Fix stale AGENTS.md test docs (no IntegrationFact/auto-skip; hardcoded creds)
- Fix ci.yml trailing-backtick continuation and make tool-manifest idempotent
@thorstenalpers thorstenalpers merged commit d882e02 into main Jun 13, 2026
1 check passed
@thorstenalpers thorstenalpers deleted the feature/dev-observability-stack branch June 13, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant