Debian Codegraph @

semconv/templates/registry/go/weaver.yaml

raw
1 params:
2 excluded_namespaces:
3 - "aspnetcore"
4 - "cpython"
5 - "dotnet"
6 - "jvm"
7 - "kestrel"
8 - "nodejs"
9 - "v8js"
10 excluded_attributes: ["messaging.client_id"]
11 templates:
12 - pattern: attribute_group.go.j2
13 filter: >
14 semconv_grouped_attributes({
15 "exclude_deprecated": true,
16 "exclude_root_namespace": $excluded_namespaces,
17 })
18 | map({
19 root_namespace: .root_namespace,
20 attributes: .attributes | map(select(.name as $st | $excluded_attributes[] | index($st) | not)),
21 })
22 application_mode: single
23 file_name: attribute_group.go
24 - pattern: metric.go.j2
25 filter: >
26 semconv_metrics({
27 "exclude_deprecated": true,
28 "exclude_root_namespace": $excluded_namespaces,
29 })
30 | semconv_group_metrics_by_root_namespace
31 application_mode: each
32 file_name: "{{ctx.root_namespace | camel_case | lower }}conv/metric.go"
33 comment_formats:
34 go:
35 format: markdown
36 prefix: "// "
37 indent_first_level_list_items: true
38 shortcut_reference_link: true
39 trim: true
40 word_wrap:
41 line_length: 80
42 go_1tab:
43 format: markdown
44 prefix: " // "
45 indent_first_level_list_items: true
46 shortcut_reference_link: true
47 trim: true
48 word_wrap:
49 line_length: 80
50 default_comment_format: go
51 text_maps:
52 attribute_type_method:
53 string: String
54 string[]: StringSlice
55 int: Int
56 int64: Int64
57 int[]: IntSlice
58 double: Float64
59 double[]: FloatSlice
60 boolean: Bool
61 boolean[]: BoolSlice
62 attribute_type_value:
63 string: string
64 string[]: "...string"
65 int: int
66 int[]: "...int"
67 double: float64
68 double[]: "...float64"
69 boolean: bool
70 boolean[]: "...bool"
71 instrument:
72 system.cpu.time: Float64ObservableCounter
73 go.config.gogc: Int64ObservableUpDownCounter
74 go.goroutine.count: Int64ObservableUpDownCounter
75 go.memory.allocated: Int64ObservableCounter
76 go.memory.allocations: Int64ObservableCounter
77 go.memory.gc.goal: Int64ObservableUpDownCounter
78 go.memory.limit: Int64ObservableUpDownCounter
79 go.memory.used: Int64ObservableUpDownCounter
80 go.processor.limit: Int64ObservableUpDownCounter
81 otel.sdk.processor.log.queue.capacity: Int64ObservableUpDownCounter
82 otel.sdk.processor.log.queue.size: Int64ObservableUpDownCounter
83 otel.sdk.processor.span.queue.capacity: Int64ObservableUpDownCounter
84 otel.sdk.processor.span.queue.size: Int64ObservableUpDownCounter
85 process.cpu.time: Float64ObservableCounter
86 system.memory.usage: Int64ObservableUpDownCounter
87 system.memory.utilization: Float64ObservableGauge
88 system.network.io: Int64ObservableCounter
89 acronyms:
90 - ACL
91 - AI
92 - AIX
93 - AKS
94 - AMD64
95 - API
96 - ARM32
97 - ARM64
98 - ARN
99 - ARNs
100 - ASCII
101 - ASPNETCore
102 - AWS
103 - ActiveMQ
104 - AppHub
105 - CICD
106 - CPP
107 - CPU
108 - CSI
109 - CSS
110 - CVM
111 - ClickHouse
112 - CloudEvents
113 - CloudFoundry
114 - CockroachDB
115 - CosmosDB
116 - CouchDB
117 - CronJob
118 - DB
119 - DB2
120 - DC
121 - DNS
122 - DaemonSet
123 - DragonflyBSD
124 - DynamoDB
125 - EC2
126 - ECS
127 - EDB
128 - EKS
129 - EOF
130 - EventGrid
131 - EventHubs
132 - FC
133 - FaaS
134 - FirebirdSQL
135 - FirstSQL
136 - FreeBSD
137 - GC
138 - GCE
139 - GCP
140 - GNU
141 - GRPC
142 - GUID
143 - GraphQL
144 - HANA
145 - HBase
146 - HPA
147 - HPUX
148 - HSQLDB
149 - HTML
150 - HTTP
151 - HTTPS
152 - HanaDB
153 - IA64
154 - IBM
155 - ICC
156 - ID
157 - IO
158 - IOS
159 - IOWait
160 - IP
161 - IPv4
162 - IPv6
163 - ISO
164 - InProc
165 - InfluxDB
166 - InstantDB
167 - JDBC
168 - JMS
169 - JSON
170 - JSONRPC
171 - JVM
172 - K8S
173 - LHS
174 - MCC
175 - MNC
176 - MSSQL
177 - MariaDB
178 - MaxDB
179 - MongoDB
180 - MySQL
181 - NetBSD
182 - OCI
183 - OKE
184 - OS
185 - OTel
186 - OpenAI
187 - OpenBSD
188 - OpenSearch
189 - OpenShift
190 - OpenTracing
191 - PHP
192 - PID
193 - PPC32
194 - PPC64
195 - PostgreSQL
196 - PubSub
197 - QPS
198 - QUIC
199 - RAM
200 - RHS
201 - RPC
202 - RabbitMQ
203 - ReplicaSet
204 - ReplicationController
205 - ResourceQuota
206 - RocketMQ
207 - SAP
208 - SCF
209 - SDK
210 - SLA
211 - SMTP
212 - SNS
213 - SPDY
214 - SQL
215 - SQLite
216 - SQS
217 - SSH
218 - ServiceBus
219 - SignalR
220 - StatefulSet
221 - TCP
222 - TLS
223 - TTL
224 - UDP
225 - UI
226 - UID
227 - URI
228 - URL
229 - UTF8
230 - UUID
231 - V8JS
232 - VCS
233 - VM
234 - WebEngine
235 - WebJS
236 - XML
237 - XMPP
238 - XSRF
239 - XSS
240 - ZOS