v0.1.0 — Phase 0 Foundation
Phase 0 — Foundation
Independent Go prototype exploring the mechanism proposed in OpenTelemetry Go Compile Instrumentation Issue #705.
Not an official or maintainer-approved OpenTelemetry component.
Added
- Go module
github.com/ADITYA-CODE-SOURCE/otelcconfig - Apache-2.0 license and project governance (CONTRIBUTING, CODE_OF_CONDUCT, SECURITY)
- README with independent-prototype disclaimer and LFX positioning
- ADR-0001 (record architecture decisions)
- ADR-0002 (adopt OTel declarative configuration
instrumentation/developmentnode) - Architecture overview and upstream-gaps placeholder
- CLI skeleton:
otelcconfig version/help - Honest stubs for planned commands (
generate,validate,resolve, …) - Package stubs:
manifest,codegen,config,demo,internal/yamlutil - Makefile, golangci-lint config, GitHub Actions CI, Dependabot
Architecture decisions
- Adopt official OpenTelemetry declarative configuration keys — do not invent a parallel format
- Keep behavior manifests separate from otelc's Weaver emission registry
- Selection (
otel.instrumentation.go) remains out of scope
Tests
- CLI unit tests for version/help/unknown/not-implemented commands
- CI: gofmt, go vet, go test, go build, CLI smoke
Known limitations
- No behavior manifests yet
- No code generation
- No YAML validation or resolution
- No net/http demo
Next phase
Phase 1 (v0.2.0) — net/http behavior manifest + deterministic codegen (types, defaults, env map, JSON Schema, docs catalog) with golden-file tests.
Quick start
git clone https://github.com/ADITYA-CODE-SOURCE/otelcconfig.git
cd otelcconfig
make check
go run ./cmd/otelcconfig version