Skip to content

Commit d6dffe2

Browse files
authored
Updated pii to maybe where it is defined as maybe in relay (#74)
1 parent adfd7d0 commit d6dffe2

File tree

15 files changed

+33
-33
lines changed

15 files changed

+33
-33
lines changed

generated/attributes/code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The method or function name, or equivalent (usually rightmost part of the code u
7474
| Property | Value |
7575
| --- | --- |
7676
| Type | `string` |
77-
| Has PII | false |
77+
| Has PII | maybe |
7878
| Exists in OpenTelemetry | Yes |
7979
| Example | `server_request` |
8080
| Deprecated | Yes, use `code.function.name` instead |
@@ -100,7 +100,7 @@ The 'namespace' within which code.function is defined. Usually the qualified cla
100100
| Property | Value |
101101
| --- | --- |
102102
| Type | `string` |
103-
| Has PII | false |
103+
| Has PII | maybe |
104104
| Exists in OpenTelemetry | Yes |
105105
| Example | `http.handler` |
106106
| Deprecated | Yes, use `code.function.name` instead |

generated/attributes/gen_ai.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The input messages sent to the model
9696
| Property | Value |
9797
| --- | --- |
9898
| Type | `string` |
99-
| Has PII | false |
99+
| Has PII | maybe |
100100
| Exists in OpenTelemetry | Yes |
101101
| Example | `[{"role": "user", "message": "hello"}]` |
102102

@@ -141,7 +141,7 @@ The messages passed to the model. It has to be a stringified version of an array
141141
| Property | Value |
142142
| --- | --- |
143143
| Type | `string` |
144-
| Has PII | true |
144+
| Has PII | maybe |
145145
| Exists in OpenTelemetry | No |
146146
| Example | `[{"role": "system", "content": "Generate a random number."}, {"role": "user", "content": [{"text": "Generate a random number between 0 and 10.", "type": "text"}]}]` |
147147

@@ -259,7 +259,7 @@ The model's response text messages. It has to be a stringified version of an arr
259259
| Property | Value |
260260
| --- | --- |
261261
| Type | `string` |
262-
| Has PII | true |
262+
| Has PII | maybe |
263263
| Exists in OpenTelemetry | No |
264264
| Example | `["The weather in Paris is rainy and overcast, with temperatures around 57°F", "The weather in London is sunny and warm, with temperatures around 65°F"]` |
265265

@@ -281,7 +281,7 @@ The tool calls in the model's response. It has to be a stringified version of an
281281
| Property | Value |
282282
| --- | --- |
283283
| Type | `string` |
284-
| Has PII | true |
284+
| Has PII | maybe |
285285
| Exists in OpenTelemetry | No |
286286
| Example | `[{"name": "get_weather", "arguments": {"location": "Paris"}}]` |
287287

@@ -326,7 +326,7 @@ The input of the tool being used. It has to be a stringified version of the inpu
326326
| Property | Value |
327327
| --- | --- |
328328
| Type | `string` |
329-
| Has PII | true |
329+
| Has PII | maybe |
330330
| Exists in OpenTelemetry | No |
331331
| Example | `{"location": "Paris"}` |
332332

@@ -360,7 +360,7 @@ The output of the tool being used. It has to be a stringified version of the out
360360
| Property | Value |
361361
| --- | --- |
362362
| Type | `string` |
363-
| Has PII | true |
363+
| Has PII | maybe |
364364
| Exists in OpenTelemetry | No |
365365
| Example | `rainy, 57°F` |
366366

generated/attributes/general.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Also used by mobile SDKs to indicate the previous route in the application.
7373
| Property | Value |
7474
| --- | --- |
7575
| Type | `string` |
76-
| Has PII | false |
76+
| Has PII | maybe |
7777
| Exists in OpenTelemetry | No |
7878
| Example | `HomeScreen` |
7979

@@ -177,7 +177,7 @@ The matched route, that is, the path template in the format used by the respecti
177177
| Property | Value |
178178
| --- | --- |
179179
| Type | `string` |
180-
| Has PII | false |
180+
| Has PII | maybe |
181181
| Exists in OpenTelemetry | No |
182182
| Example | `App\Controller::indexAction` |
183183
| Deprecated | Yes, use `http.route` instead |

javascript/sentry-conventions/src/attributes.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ export type CODE_FILEPATH_TYPE = string;
11201120
*
11211121
* Attribute Value Type: `string` {@link CODE_FUNCTION_TYPE}
11221122
*
1123-
* Contains PII: false
1123+
* Contains PII: maybe
11241124
*
11251125
* Attribute defined in OTEL: Yes
11261126
*
@@ -1210,7 +1210,7 @@ export type CODE_LINENO_TYPE = number;
12101210
*
12111211
* Attribute Value Type: `string` {@link CODE_NAMESPACE_TYPE}
12121212
*
1213-
* Contains PII: false
1213+
* Contains PII: maybe
12141214
*
12151215
* Attribute defined in OTEL: Yes
12161216
*
@@ -1962,7 +1962,7 @@ export type GEN_AI_OPERATION_NAME_TYPE = string;
19621962
*
19631963
* Attribute Value Type: `string` {@link GEN_AI_PROMPT_TYPE}
19641964
*
1965-
* Contains PII: false
1965+
* Contains PII: maybe
19661966
*
19671967
* Attribute defined in OTEL: Yes
19681968
*
@@ -2044,7 +2044,7 @@ export type GEN_AI_REQUEST_MAX_TOKENS_TYPE = number;
20442044
*
20452045
* Attribute Value Type: `string` {@link GEN_AI_REQUEST_MESSAGES_TYPE}
20462046
*
2047-
* Contains PII: true
2047+
* Contains PII: maybe
20482048
*
20492049
* Attribute defined in OTEL: No
20502050
*
@@ -2260,7 +2260,7 @@ export type GEN_AI_RESPONSE_MODEL_TYPE = string;
22602260
*
22612261
* Attribute Value Type: `string` {@link GEN_AI_RESPONSE_TEXT_TYPE}
22622262
*
2263-
* Contains PII: true
2263+
* Contains PII: maybe
22642264
*
22652265
* Attribute defined in OTEL: No
22662266
*
@@ -2300,7 +2300,7 @@ export type GEN_AI_RESPONSE_TOKENS_PER_SECOND_TYPE = number;
23002300
*
23012301
* Attribute Value Type: `string` {@link GEN_AI_RESPONSE_TOOL_CALLS_TYPE}
23022302
*
2303-
* Contains PII: true
2303+
* Contains PII: maybe
23042304
*
23052305
* Attribute defined in OTEL: No
23062306
*
@@ -2382,7 +2382,7 @@ export type GEN_AI_TOOL_DESCRIPTION_TYPE = string;
23822382
*
23832383
* Attribute Value Type: `string` {@link GEN_AI_TOOL_INPUT_TYPE}
23842384
*
2385-
* Contains PII: true
2385+
* Contains PII: maybe
23862386
*
23872387
* Attribute defined in OTEL: No
23882388
*
@@ -2444,7 +2444,7 @@ export type GEN_AI_TOOL_NAME_TYPE = string;
24442444
*
24452445
* Attribute Value Type: `string` {@link GEN_AI_TOOL_OUTPUT_TYPE}
24462446
*
2447-
* Contains PII: true
2447+
* Contains PII: maybe
24482448
*
24492449
* Attribute defined in OTEL: No
24502450
*
@@ -4718,7 +4718,7 @@ export type PARAMS_KEY_TYPE = string;
47184718
*
47194719
* Attribute Value Type: `string` {@link PREVIOUS_ROUTE_TYPE}
47204720
*
4721-
* Contains PII: false
4721+
* Contains PII: maybe
47224722
*
47234723
* Attribute defined in OTEL: No
47244724
*
@@ -4972,7 +4972,7 @@ export type RESOURCE_RENDER_BLOCKING_STATUS_TYPE = string;
49724972
*
49734973
* Attribute Value Type: `string` {@link ROUTE_TYPE}
49744974
*
4975-
* Contains PII: false
4975+
* Contains PII: maybe
49764976
*
49774977
* Attribute defined in OTEL: No
49784978
*

model/attributes/code/code__function.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"brief": "The method or function name, or equivalent (usually rightmost part of the code unit's name).",
44
"type": "string",
55
"pii": {
6-
"key": "false"
6+
"key": "maybe"
77
},
88
"is_in_otel": true,
99
"example": "server_request",

model/attributes/code/code__namespace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"brief": "The 'namespace' within which code.function is defined. Usually the qualified class or module name, such that code.namespace + some separator + code.function form a unique identifier for the code unit.",
44
"type": "string",
55
"pii": {
6-
"key": "false"
6+
"key": "maybe"
77
},
88
"is_in_otel": true,
99
"example": "http.handler",

model/attributes/gen_ai/gen_ai__prompt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"brief": "The input messages sent to the model",
44
"type": "string",
55
"pii": {
6-
"key": "false"
6+
"key": "maybe"
77
},
88
"is_in_otel": true,
99
"example": "[{\"role\": \"user\", \"message\": \"hello\"}]"

model/attributes/gen_ai/gen_ai__request__messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"brief": "The messages passed to the model. It has to be a stringified version of an array of objects. The \"content\" can be a string or an array of objects.",
44
"type": "string",
55
"pii": {
6-
"key": "true"
6+
"key": "maybe"
77
},
88
"is_in_otel": false,
99
"example": "[{\"role\": \"system\", \"content\": \"Generate a random number.\"}, {\"role\": \"user\", \"content\": [{\"text\": \"Generate a random number between 0 and 10.\", \"type\": \"text\"}]}]",

model/attributes/gen_ai/gen_ai__response__text.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"brief": "The model's response text messages. It has to be a stringified version of an array of response text messages.",
44
"type": "string",
55
"pii": {
6-
"key": "true"
6+
"key": "maybe"
77
},
88
"is_in_otel": false,
99
"example": "[\"The weather in Paris is rainy and overcast, with temperatures around 57°F\", \"The weather in London is sunny and warm, with temperatures around 65°F\"]",

model/attributes/gen_ai/gen_ai__response__tool_calls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"brief": "The tool calls in the model's response. It has to be a stringified version of an array of objects.",
44
"type": "string",
55
"pii": {
6-
"key": "true"
6+
"key": "maybe"
77
},
88
"is_in_otel": false,
99
"example": "[{\"name\": \"get_weather\", \"arguments\": {\"location\": \"Paris\"}}]",

0 commit comments

Comments
 (0)