Beispiel
Tracer creates spans with custom SpanKind, attributes, events, links, status codes, and error recording, supporting WithNewRoot and timestamp options
sha256:34df8b53185bce49adbc1ffc2d5113075c6cd0b5a5110e6337a3cd9a04a1eac5
Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen.
Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen.
MIT-0
Ausführungsbelege
Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.
- Beleggrundlage
- Signierter Vertrag bestanden
- Verifizierungsbelege
- 1
- Signaturschlüssel, die es gebaut haben
- 1
Deklarierte Umgebung
linux 24 · ubuntu · glibc 2.39 x64 go
Umgebungen der Verifizierungsläufe
| Umgebung | Contract | Stufen | Lauf |
|---|---|---|---|
| go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · golang@1golang:1.26-alpine@sha256:28d89ee9cc0f… |
2026-08-27 |
Fall
HOW- Ziel
- Tracer creates spans with custom SpanKind, attributes, events, links, status codes, and error recording, supporting WithNewRoot and timestamp options
- Symbole
-
- trace.Span
- trace.Tracer
- trace.WithAttributes
- trace.WithLinks
- trace.WithNewRoot
- trace.WithSpanKind
- trace.WithStackTrace
- trace.WithTimestamp
- Erstellt
- 2026-08-27T10:12:33Z
Contract
- NewSpanStartConfig resolves WithSpanKind, WithAttributes, WithNewRoot, WithTimestamp, and WithLinks into a SpanConfig
- NewSpanEndConfig and NewEventConfig record timestamps, attributes, and stack trace flags for span termination and events
- Tracer starts spans with configured start options, attaches spans to context via ContextWithSpan, and records events, errors, status, and attributes across the span lifecycle
- NoopTracerProvider and NoopTracer safely handle all start options, attributes, events, error records, and status updates as non-recording spans
Dateien
- NOTES.md
- PROMPT.md
- csx.json
- go.mod
- go.sum
- spec.json
- trace_test.go
Ursprungs-Seeder
anonym