-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathweaver.yaml
166 lines (165 loc) · 2.5 KB
/
weaver.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
params:
excluded_namespaces: ["aspnetcore", "dotnet", "jvm", "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_metrics({
"exclude_root_namespace": $excluded_namespaces,
})
| sort_by(.metric_name)
application_mode: single
file_name: 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
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"
acronyms:
- ACL
- AI
- AIX
- AKS
- AMD64
- API
- ARM32
- ARM64
- ARN
- ARNs
- ASCII
- ASPNETCore
- AWS
- CICD
- CPP
- CPU
- CSS
- CosmosDB
- CouchDB
- CronJob
- DB
- DC
- DNS
- DaemonSet
- DragonflyBSD
- DynamoDB
- EC2
- ECS
- EDB
- EKS
- EOF
- FaaS
- FirstSQL
- FreeBSD
- GC
- GCP
- GRPC
- GUID
- HBase
- HPUX
- HSQLDB
- HTML
- HTTP
- HTTPS
- HanaDB
- IA64
- ID
- IP
- InProc
- InstantDB
- JDBC
- JSON
- JVM
- K8S
- LHS
- MSSQL
- MariaDB
- MaxDB
- MongoDB
- MySQL
- NetBSD
- OS
- OTel
- OpenBSD
- PHP
- PID
- PPC32
- PPC64
- PostgreSQL
- QPS
- QUIC
- RAM
- RHS
- RPC
- ReplicaSet
- ReplicationController
- ResourceQuota
- SDK
- SLA
- SMTP
- SPDY
- SQL
- SSH
- StatefulSet
- TCP
- TLS
- TTL
- UDP
- UI
- UID
- URI
- URL
- UTF8
- UUID
- V8JS
- VCS
- VM
- WebEngine
- XML
- XMPP
- XSRF
- XSS
- ZOS