Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

In telemetry, treat AdditionalProperties as sensitive - #6239

#6239
Merged
SteveSandersonMS merged 1 commit into
maindotnet/extensions:mainfrom
stevesa/otel-treat-additionalproperties-as-sensitivedotnet/extensions:stevesa/otel-treat-additionalproperties-as-sensitiveCopy head branch name to clipboard
Apr 3, 2025
Merged

In telemetry, treat AdditionalProperties as sensitive#6239
SteveSandersonMS merged 1 commit into
maindotnet/extensions:mainfrom
stevesa/otel-treat-additionalproperties-as-sensitivedotnet/extensions:stevesa/otel-treat-additionalproperties-as-sensitiveCopy head branch name to clipboard

Conversation

@SteveSandersonMS

@SteveSandersonMS SteveSandersonMS commented Apr 3, 2025

Copy link
Copy Markdown
Member

It would be nice if IChatClient implementations had some way to signal which parts of AdditionalProperties are sensitive and which aren't, but without some means to do that we're limited to treating it all as potentially sensitive.

If this later becomes problematic, we can design some way for implementations to communicate this info. For example, we could define a "telemetry" entry in AdditionalProperties that is documented as always included in telemetry output, and then it would be up to IChatClient implementations to put the right data there.

Microsoft Reviewers: Open in CodeFlow

@SteveSandersonMS
SteveSandersonMS requested a review from a team as a code owner April 3, 2025 09:47
@github-actions github-actions Bot added the area-ai Microsoft.Extensions.AI libraries label Apr 3, 2025
@stephentoub

Copy link
Copy Markdown
Member

we can design some way for implementations to communicate this info

Maybe some of the functionality from the M.E redaction library would be useful.

@SteveSandersonMS
SteveSandersonMS merged commit 9759023 into main Apr 3, 2025
@SteveSandersonMS
SteveSandersonMS deleted the stevesa/otel-treat-additionalproperties-as-sensitive branch April 3, 2025 10:37
joperezr pushed a commit to joperezr/extensions that referenced this pull request Apr 8, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators May 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-ai Microsoft.Extensions.AI libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.