You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
e587b1884f
Resolve #6811 Resolve #6691 No migration documentation is added. This does not contain any breaking changes between v1.34.0 and v1.33.0 for the Go API. ## [`v1.34.0` semantic convention release notes](https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.34.0): <h3>🛑 Breaking changes 🛑</h3> <ul> <li> <p><code>all</code>: Convert deprecated text to structured format. (<a href="https://github.com/open-telemetry/semantic-conventions/issues/2047" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/2047/hovercard">#2047</a>)<br> This is a breaking change from the schema perspective, but does not change anything for instrumentations or the end users. It breaks compatibility with the (old) <a href="https://github.com/open-telemetry/build-tools/issues/322" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/build-tools/issues/322/hovercard">code generation tooling</a>. Please use <a href="https://github.com/open-telemetry/weaver">weaver</a> to generate Semantic Conventions markdown or code.</p> </li> <li> <p><code>feature_flag</code>: Move the evaluated value from the event body to attributes (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1990" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1990/hovercard">#1990</a>)</p> </li> <li> <p><code>process</code>: Require sensitive data sanitization for <code>process.command_args</code> and <code>process.command_line</code> (<a href="https://github.com/open-telemetry/semantic-conventions/issues/626" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/626/hovercard">#626</a>)</p> </li> </ul> <h3>💡 Enhancements 💡</h3> <ul> <li><code>docs</code>: Document system-specific naming conventions (<a href="https://github.com/open-telemetry/semantic-conventions/issues/608" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/608/hovercard">#608</a>, <a href="https://github.com/open-telemetry/semantic-conventions/issues/1494" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1494/hovercard">#1494</a>, <a href="https://github.com/open-telemetry/semantic-conventions/issues/1708" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1708/hovercard">#1708</a>)</li> <li><code>gen-ai</code>: Add <code>gen_ai.conversation.id</code> attribute (<a href="https://github.com/open-telemetry/semantic-conventions/issues/2024" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/2024/hovercard">#2024</a>)</li> <li><code>all</code>: Renames all <code>resource.*</code> groups to be <code>entity.*</code> (<a href="https://github.com/open-telemetry/semantic-conventions/issues/2244" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/2244/hovercard">#2244</a>)<br> Part of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2885075816" data-permission-text="Title is private" data-url="https://github.com/open-telemetry/opentelemetry-specification/issues/4436" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/opentelemetry-specification/issues/4436/hovercard" href="https://github.com/open-telemetry/opentelemetry-specification/issues/4436">open-telemetry/opentelemetry-specification#4436</a></li> <li><code>aws</code>: Added new AWS attributes for various services including SQS, SNS, Bedrock, Step Functions, Secrets Manager and Kineses (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1794" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1794/hovercard">#1794</a>)</li> <li><code>cloud</code>: Broaden <code>cloud.region</code> definition to explicitly cover both resource location and targeted destination. (<a href="https://github.com/open-telemetry/semantic-conventions/issues/2142" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/2142/hovercard">#2142</a>)</li> <li><code>network</code>: Stabilize <code>network.transport</code> enum value <code>quic</code>. (<a href="https://github.com/open-telemetry/semantic-conventions/issues/2275" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/2275/hovercard">#2275</a>)</li> </ul> <h3>🧰 Bug fixes 🧰</h3> <ul> <li><code>db</code>: Fix the <code>db.system.name</code> attribute value for MySQL which was incorrectly pointing to <code>microsoft.sql_server</code>. (<a href="https://github.com/open-telemetry/semantic-conventions/issues/2276" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/2276/hovercard">#2276</a>)</li> </ul>
236 lines
3.8 KiB
YAML
236 lines
3.8 KiB
YAML
params:
|
|
excluded_namespaces:
|
|
- "aspnetcore"
|
|
- "cpython"
|
|
- "dotnet"
|
|
- "jvm"
|
|
- "kestrel"
|
|
- "nodejs"
|
|
- "v8js"
|
|
excluded_attributes: ["messaging.client_id"]
|
|
templates:
|
|
- pattern: attribute_group.go.j2
|
|
filter: >
|
|
semconv_grouped_attributes({
|
|
"exclude_deprecated": true,
|
|
"exclude_root_namespace": $excluded_namespaces,
|
|
})
|
|
| map({
|
|
root_namespace: .root_namespace,
|
|
attributes: .attributes | map(select(.name as $st | $excluded_attributes[] | index($st) | not)),
|
|
})
|
|
application_mode: single
|
|
file_name: attribute_group.go
|
|
- pattern: metric.go.j2
|
|
filter: >
|
|
semconv_grouped_metrics({
|
|
"exclude_deprecated": true,
|
|
"exclude_root_namespace": $excluded_namespaces,
|
|
})
|
|
application_mode: each
|
|
file_name: "{{ctx.root_namespace | camel_case | lower }}conv/metric.go"
|
|
comment_formats:
|
|
go:
|
|
format: markdown
|
|
prefix: "// "
|
|
indent_first_level_list_items: true
|
|
shortcut_reference_link: true
|
|
trim: true
|
|
word_wrap:
|
|
line_length: 80
|
|
go_1tab:
|
|
format: markdown
|
|
prefix: " // "
|
|
indent_first_level_list_items: true
|
|
shortcut_reference_link: true
|
|
trim: true
|
|
word_wrap:
|
|
line_length: 80
|
|
default_comment_format: go
|
|
text_maps:
|
|
attribute_type_method:
|
|
string: String
|
|
string[]: StringSlice
|
|
int: Int
|
|
int64: Int64
|
|
int[]: IntSlice
|
|
double: Float64
|
|
double[]: FloatSlice
|
|
boolean: Bool
|
|
boolean[]: BoolSlice
|
|
attribute_type_value:
|
|
string: string
|
|
string[]: "...string"
|
|
int: int
|
|
int[]: "...int"
|
|
double: float64
|
|
double[]: "...float64"
|
|
boolean: bool
|
|
boolean[]: "...bool"
|
|
instrument:
|
|
cpu.time: Float64ObservableCounter
|
|
go.config.gogc: Int64ObservableUpDownCounter
|
|
go.goroutine.count: Int64ObservableUpDownCounter
|
|
go.memory.allocated: Int64ObservableCounter
|
|
go.memory.allocations: Int64ObservableCounter
|
|
go.memory.gc.goal: Int64ObservableUpDownCounter
|
|
go.memory.limit: Int64ObservableUpDownCounter
|
|
go.memory.used: Int64ObservableCounter
|
|
go.processor.limit: Int64ObservableUpDownCounter
|
|
process.cpu.time: Float64ObservableCounter
|
|
system.memory.usage: Int64ObservableGauge
|
|
system.memory.utilization: Float64ObservableGauge
|
|
system.network.io: Int64ObservableCounter
|
|
acronyms:
|
|
- ACL
|
|
- AI
|
|
- AIX
|
|
- AKS
|
|
- AMD64
|
|
- API
|
|
- ARM32
|
|
- ARM64
|
|
- ARN
|
|
- ARNs
|
|
- ASCII
|
|
- ASPNETCore
|
|
- AWS
|
|
- ActiveMQ
|
|
- AppHub
|
|
- CICD
|
|
- CPP
|
|
- CPU
|
|
- CSI
|
|
- CSS
|
|
- CVM
|
|
- ClickHouse
|
|
- CloudEvents
|
|
- CloudFoundry
|
|
- CockroachDB
|
|
- CosmosDB
|
|
- CouchDB
|
|
- CronJob
|
|
- DB
|
|
- DB2
|
|
- DC
|
|
- DNS
|
|
- DaemonSet
|
|
- DragonflyBSD
|
|
- DynamoDB
|
|
- EC2
|
|
- ECS
|
|
- EDB
|
|
- EKS
|
|
- EOF
|
|
- EventGrid
|
|
- EventHubs
|
|
- FC
|
|
- FaaS
|
|
- FirebirdSQL
|
|
- FirstSQL
|
|
- FreeBSD
|
|
- GC
|
|
- GCE
|
|
- GCP
|
|
- GNU
|
|
- GRPC
|
|
- GUID
|
|
- GraphQL
|
|
- HANA
|
|
- HBase
|
|
- HPA
|
|
- HPUX
|
|
- HSQLDB
|
|
- HTML
|
|
- HTTP
|
|
- HTTPS
|
|
- HanaDB
|
|
- IA64
|
|
- IBM
|
|
- ICC
|
|
- ID
|
|
- IO
|
|
- IOS
|
|
- IOWait
|
|
- IP
|
|
- IPv4
|
|
- IPv6
|
|
- ISO
|
|
- InProc
|
|
- InfluxDB
|
|
- InstantDB
|
|
- JDBC
|
|
- JMS
|
|
- JSON
|
|
- JSONRPC
|
|
- JVM
|
|
- K8S
|
|
- LHS
|
|
- MCC
|
|
- MNC
|
|
- MSSQL
|
|
- MariaDB
|
|
- MaxDB
|
|
- MongoDB
|
|
- MySQL
|
|
- NetBSD
|
|
- OCI
|
|
- OKE
|
|
- OS
|
|
- OTel
|
|
- OpenAI
|
|
- OpenBSD
|
|
- OpenSearch
|
|
- OpenShift
|
|
- OpenTracing
|
|
- PHP
|
|
- PID
|
|
- PPC32
|
|
- PPC64
|
|
- PostgreSQL
|
|
- PubSub
|
|
- QPS
|
|
- QUIC
|
|
- RAM
|
|
- RHS
|
|
- RPC
|
|
- RabbitMQ
|
|
- ReplicaSet
|
|
- ReplicationController
|
|
- ResourceQuota
|
|
- RocketMQ
|
|
- SAP
|
|
- SCF
|
|
- SDK
|
|
- SLA
|
|
- SMTP
|
|
- SNS
|
|
- SPDY
|
|
- SQL
|
|
- SQLite
|
|
- SQS
|
|
- SSH
|
|
- ServiceBus
|
|
- SignalR
|
|
- StatefulSet
|
|
- TCP
|
|
- TLS
|
|
- TTL
|
|
- UDP
|
|
- UI
|
|
- UID
|
|
- URI
|
|
- URL
|
|
- UTF8
|
|
- UUID
|
|
- V8JS
|
|
- VCS
|
|
- VM
|
|
- WebEngine
|
|
- WebJS
|
|
- XML
|
|
- XMPP
|
|
- XSRF
|
|
- XSS
|
|
- ZOS
|