Skip to content

Commit 8cc17b9

Browse files
authored
ref: Set PII to maybe for most non sentry.* attributes (#127)
1 parent 8117329 commit 8cc17b9

File tree

170 files changed

+443
-437
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+443
-437
lines changed

generated/attributes/ai.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Extra metadata passed to an AI pipeline step.
8080
| Property | Value |
8181
| --- | --- |
8282
| Type | `string` |
83-
| Has PII | false |
83+
| Has PII | maybe |
8484
| Exists in OpenTelemetry | No |
8585
| Example | `{"user_id": 123, "session_id": "abc123"}` |
8686

@@ -113,7 +113,7 @@ For an AI model call, the format of the response
113113
| Property | Value |
114114
| --- | --- |
115115
| Type | `string` |
116-
| Has PII | false |
116+
| Has PII | maybe |
117117
| Exists in OpenTelemetry | No |
118118
| Example | `json_object` |
119119

@@ -146,7 +146,7 @@ Tags that describe an AI pipeline step.
146146
| Property | Value |
147147
| --- | --- |
148148
| Type | `string` |
149-
| Has PII | false |
149+
| Has PII | maybe |
150150
| Exists in OpenTelemetry | No |
151151
| Example | `{"executed_function": "add_integers"}` |
152152

@@ -207,7 +207,7 @@ The reason why the model stopped generating.
207207
| Property | Value |
208208
| --- | --- |
209209
| Type | `string` |
210-
| Has PII | false |
210+
| Has PII | maybe |
211211
| Exists in OpenTelemetry | No |
212212
| Example | `COMPLETE` |
213213
| Deprecated | Yes, use `gen_ai.response.finish_reason` instead |
@@ -246,7 +246,7 @@ Unique identifier for the completion.
246246
| Property | Value |
247247
| --- | --- |
248248
| Type | `string` |
249-
| Has PII | false |
249+
| Has PII | maybe |
250250
| Exists in OpenTelemetry | No |
251251
| Example | `gen_123abc` |
252252
| Deprecated | Yes, use `gen_ai.response.id` instead |
@@ -272,7 +272,7 @@ The vendor-specific ID of the model used.
272272
| Property | Value |
273273
| --- | --- |
274274
| Type | `string` |
275-
| Has PII | false |
275+
| Has PII | maybe |
276276
| Exists in OpenTelemetry | No |
277277
| Example | `gpt-4` |
278278
| Deprecated | Yes, use `gen_ai.response.model` instead |
@@ -285,7 +285,7 @@ The provider of the model.
285285
| Property | Value |
286286
| --- | --- |
287287
| Type | `string` |
288-
| Has PII | false |
288+
| Has PII | maybe |
289289
| Exists in OpenTelemetry | No |
290290
| Example | `openai` |
291291
| Deprecated | Yes, use `gen_ai.system` instead |
@@ -298,7 +298,7 @@ The name of the AI pipeline.
298298
| Property | Value |
299299
| --- | --- |
300300
| Type | `string` |
301-
| Has PII | false |
301+
| Has PII | maybe |
302302
| Exists in OpenTelemetry | No |
303303
| Example | `Autofix Pipeline` |
304304
| Deprecated | Yes, use `gen_ai.pipeline.name` instead |
@@ -337,7 +337,7 @@ The response messages sent back by the AI model.
337337
| Property | Value |
338338
| --- | --- |
339339
| Type | `string[]` |
340-
| Has PII | false |
340+
| Has PII | maybe |
341341
| Exists in OpenTelemetry | No |
342342
| Example | `["hello","world"]` |
343343
| Deprecated | Yes, use `gen_ai.response.text` instead |
@@ -349,7 +349,7 @@ The seed, ideally models given the same seed and same other parameters will prod
349349
| Property | Value |
350350
| --- | --- |
351351
| Type | `string` |
352-
| Has PII | false |
352+
| Has PII | maybe |
353353
| Exists in OpenTelemetry | No |
354354
| Example | `1234567890` |
355355
| Deprecated | Yes, use `gen_ai.request.seed` instead |
@@ -400,7 +400,7 @@ For an AI model call, the functions that are available
400400
| Property | Value |
401401
| --- | --- |
402402
| Type | `string[]` |
403-
| Has PII | false |
403+
| Has PII | maybe |
404404
| Exists in OpenTelemetry | No |
405405
| Example | `["function_1","function_2"]` |
406406
| Deprecated | Yes, use `gen_ai.request.available_tools` instead |

generated/attributes/browser.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The name of the browser.
1919
| Property | Value |
2020
| --- | --- |
2121
| Type | `string` |
22-
| Has PII | false |
22+
| Has PII | maybe |
2323
| Exists in OpenTelemetry | No |
2424
| Example | `Chrome` |
2525

@@ -30,7 +30,7 @@ A browser report sent via reporting API..
3030
| Property | Value |
3131
| --- | --- |
3232
| Type | `string` |
33-
| Has PII | false |
33+
| Has PII | maybe |
3434
| Exists in OpenTelemetry | No |
3535
| Example | `network-error` |
3636

@@ -41,7 +41,7 @@ How a script was called in the browser.
4141
| Property | Value |
4242
| --- | --- |
4343
| Type | `string` |
44-
| Has PII | false |
44+
| Has PII | maybe |
4545
| Exists in OpenTelemetry | No |
4646
| Example | `Window.requestAnimationFrame` |
4747

@@ -52,7 +52,7 @@ Browser script entry point type.
5252
| Property | Value |
5353
| --- | --- |
5454
| Type | `string` |
55-
| Has PII | false |
55+
| Has PII | maybe |
5656
| Exists in OpenTelemetry | No |
5757
| Example | `event-listener` |
5858

@@ -74,7 +74,7 @@ The version of the browser.
7474
| Property | Value |
7575
| --- | --- |
7676
| Type | `string` |
77-
| Has PII | false |
77+
| Has PII | maybe |
7878
| Exists in OpenTelemetry | No |
7979
| Example | `120.0.6099.130` |
8080

generated/attributes/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The operation being performed on the cache.
5151
| Property | Value |
5252
| --- | --- |
5353
| Type | `string` |
54-
| Has PII | false |
54+
| Has PII | maybe |
5555
| Exists in OpenTelemetry | No |
5656
| Example | `get` |
5757

generated/attributes/client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Client address - domain name if available without reverse DNS lookup; otherwise,
1515
| Property | Value |
1616
| --- | --- |
1717
| Type | `string` |
18-
| Has PII | false |
18+
| Has PII | true |
1919
| Exists in OpenTelemetry | Yes |
2020
| Example | `example.com` |
2121
| Aliases | `http.client_ip` |

generated/attributes/code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The method or function name, or equivalent (usually rightmost part of the code u
3333
| Property | Value |
3434
| --- | --- |
3535
| Type | `string` |
36-
| Has PII | false |
36+
| Has PII | maybe |
3737
| Exists in OpenTelemetry | Yes |
3838
| Example | `server_request` |
3939
| Aliases | `code.function` |

generated/attributes/db.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The name of a collection (table, container) within the database.
2929
| Property | Value |
3030
| --- | --- |
3131
| Type | `string` |
32-
| Has PII | false |
32+
| Has PII | maybe |
3333
| Exists in OpenTelemetry | Yes |
3434
| Example | `users` |
3535

@@ -40,7 +40,7 @@ The name of the database being accessed.
4040
| Property | Value |
4141
| --- | --- |
4242
| Type | `string` |
43-
| Has PII | false |
43+
| Has PII | maybe |
4444
| Exists in OpenTelemetry | Yes |
4545
| Example | `customers` |
4646
| Aliases | `db.name` |
@@ -52,7 +52,7 @@ The name of the operation being executed.
5252
| Property | Value |
5353
| --- | --- |
5454
| Type | `string` |
55-
| Has PII | false |
55+
| Has PII | maybe |
5656
| Exists in OpenTelemetry | Yes |
5757
| Example | `SELECT` |
5858
| Aliases | `db.operation` |
@@ -64,7 +64,7 @@ A query parameter used in db.query.text, with \<key\> being the parameter name,
6464
| Property | Value |
6565
| --- | --- |
6666
| Type | `string` |
67-
| Has PII | false |
67+
| Has PII | maybe |
6868
| Exists in OpenTelemetry | Yes |
6969
| Has dynamic suffix | Yes |
7070
| Example | `db.query.parameter.foo='123'` |
@@ -76,7 +76,7 @@ A database query being executed. Should be paramaterized. The full version of th
7676
| Property | Value |
7777
| --- | --- |
7878
| Type | `string` |
79-
| Has PII | false |
79+
| Has PII | maybe |
8080
| Exists in OpenTelemetry | Yes |
8181
| Example | `SELECT * FROM users` |
8282

@@ -87,7 +87,7 @@ The database query being executed. Should be the full query, not a parameterized
8787
| Property | Value |
8888
| --- | --- |
8989
| Type | `string` |
90-
| Has PII | false |
90+
| Has PII | maybe |
9191
| Exists in OpenTelemetry | Yes |
9292
| Example | `SELECT * FROM users` |
9393
| Aliases | `db.statement` |
@@ -99,7 +99,7 @@ The redis connection name.
9999
| Property | Value |
100100
| --- | --- |
101101
| Type | `string` |
102-
| Has PII | false |
102+
| Has PII | maybe |
103103
| Exists in OpenTelemetry | No |
104104
| Example | `my-redis-instance` |
105105

@@ -121,7 +121,7 @@ An identifier for the database management system (DBMS) product being used. See
121121
| Property | Value |
122122
| --- | --- |
123123
| Type | `string` |
124-
| Has PII | false |
124+
| Has PII | maybe |
125125
| Exists in OpenTelemetry | Yes |
126126
| Example | `postgresql` |
127127
| Aliases | `db.system` |
@@ -148,7 +148,7 @@ The name of the database being accessed.
148148
| Property | Value |
149149
| --- | --- |
150150
| Type | `string` |
151-
| Has PII | false |
151+
| Has PII | maybe |
152152
| Exists in OpenTelemetry | Yes |
153153
| Example | `customers` |
154154
| Deprecated | Yes, use `db.namespace` instead |
@@ -161,7 +161,7 @@ The name of the operation being executed.
161161
| Property | Value |
162162
| --- | --- |
163163
| Type | `string` |
164-
| Has PII | false |
164+
| Has PII | maybe |
165165
| Exists in OpenTelemetry | Yes |
166166
| Example | `SELECT` |
167167
| Deprecated | Yes, use `db.operation.name` instead |
@@ -187,7 +187,7 @@ The database statement being executed.
187187
| Property | Value |
188188
| --- | --- |
189189
| Type | `string` |
190-
| Has PII | false |
190+
| Has PII | maybe |
191191
| Exists in OpenTelemetry | Yes |
192192
| Example | `SELECT * FROM users` |
193193
| Deprecated | Yes, use `db.query.text` instead |
@@ -200,7 +200,7 @@ An identifier for the database management system (DBMS) product being used. See
200200
| Property | Value |
201201
| --- | --- |
202202
| Type | `string` |
203-
| Has PII | false |
203+
| Has PII | maybe |
204204
| Exists in OpenTelemetry | Yes |
205205
| Example | `postgresql` |
206206
| Deprecated | Yes, use `db.system.name` instead |

generated/attributes/device.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The brand of the device.
1616
| Property | Value |
1717
| --- | --- |
1818
| Type | `string` |
19-
| Has PII | false |
19+
| Has PII | maybe |
2020
| Exists in OpenTelemetry | No |
2121
| Example | `Apple` |
2222

@@ -27,7 +27,7 @@ The family of the device.
2727
| Property | Value |
2828
| --- | --- |
2929
| Type | `string` |
30-
| Has PII | false |
30+
| Has PII | maybe |
3131
| Exists in OpenTelemetry | No |
3232
| Example | `iPhone` |
3333

@@ -38,7 +38,7 @@ The model of the device.
3838
| Property | Value |
3939
| --- | --- |
4040
| Type | `string` |
41-
| Has PII | false |
41+
| Has PII | maybe |
4242
| Exists in OpenTelemetry | No |
4343
| Example | `iPhone 15 Pro Max` |
4444

generated/attributes/error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Describes a class of error the operation ended with.
1414
| Property | Value |
1515
| --- | --- |
1616
| Type | `string` |
17-
| Has PII | false |
17+
| Has PII | maybe |
1818
| Exists in OpenTelemetry | Yes |
1919
| Example | `timeout` |
2020

generated/attributes/event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The name that uniquely identifies this event (log record)
2626
| Property | Value |
2727
| --- | --- |
2828
| Type | `string` |
29-
| Has PII | false |
29+
| Has PII | maybe |
3030
| Exists in OpenTelemetry | No |
3131
| Example | `Process Payload` |
3232

generated/attributes/exception.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The error message.
2828
| Property | Value |
2929
| --- | --- |
3030
| Type | `string` |
31-
| Has PII | false |
31+
| Has PII | maybe |
3232
| Exists in OpenTelemetry | Yes |
3333
| Example | `ENOENT: no such file or directory` |
3434

@@ -39,7 +39,7 @@ A stacktrace as a string in the natural representation for the language runtime.
3939
| Property | Value |
4040
| --- | --- |
4141
| Type | `string` |
42-
| Has PII | false |
42+
| Has PII | maybe |
4343
| Exists in OpenTelemetry | Yes |
4444
| Example | `Exception in thread "main" java.lang.RuntimeException: Test exception
4545
at com.example.GenerateTrace.methodB(GenerateTrace.java:13)
@@ -53,7 +53,7 @@ The type of the exception (its fully-qualified class name, if applicable). The d
5353
| Property | Value |
5454
| --- | --- |
5555
| Type | `string` |
56-
| Has PII | false |
56+
| Has PII | maybe |
5757
| Exists in OpenTelemetry | Yes |
5858
| Example | `OSError` |
5959

0 commit comments

Comments
 (0)