CodeSampleX

Sample

go.opentelemetry.io/otel v1.43.0: Version, Meter, SetLogger

Verified sample for golang go.opentelemetry.io/otel v1.43.0: Version, Meter, SetLogger. The contract ran on go 1.26 · linux alpine/x64 · docker and passed…

sha256:52ca0b6c6b04a6a612a348dc18b8772b2c5015c7a6a496dc87b3bd99861879c1

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
2
Signing keys that built it
1
Declared environment linux 24 · ubuntu · glibc 2.39 x64 go

Verification-run environments

Environment Contract Stages Run
go 1.26 · linux alpine/x64 · docker ed25519:2a6aa94bf40f1df0 SKIPPED compile:SKIPPED · contract:SKIPPED · load:SKIPPED · resolve:FAIL
CONTAINER_RUN · golang@1
2026-08-19
go 1.26 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · golang@1
2026-08-20

Case

HOW
Goal
verify pkg:golang/go.opentelemetry.io/otel@v1.43.0
Packages
Symbols
  • Version
  • Meter
  • SetLogger
  • GetErrorHandler
  • ErrorHandlerFunc
Created
2026-08-19T21:15:43Z

Contract

  1. otel.Version returns the release version string for OpenTelemetry matching 1.43.0
  2. otel.Meter creates a named Meter delegating to the configured MeterProvider
  3. otel.SetLogger configures the global logger used internally by OpenTelemetry
  4. otel.ErrorHandlerFunc adapts a function to the ErrorHandler interface and otel.GetErrorHandler returns the active handler

Files

  • PROMPT.md
  • csx.json
  • go.mod
  • go.sum
  • main.go
  • spec.json
  • test/contract.go

Download the source artifact (tar.gz)

Origin Seeder

anonymous