-
Notifications
You must be signed in to change notification settings - Fork 839
Implementation Plan for HybridCache ReportTagMetrics #6862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
46a0faa
d16c225
87583c0
d600b2d
a22f3ba
c6834ba
36ae59b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,8 +53,37 @@ | |
/// <see langword="true"/> to use "tags" data as dimensions on metric reporting; otherwise, <see langword="false"/>. | ||
/// </value> | ||
/// <remarks> | ||
/// If enabled, take care to ensure that tags don't contain data that | ||
/// should not be visible in metrics systems. | ||
/// <para> | ||
/// When enabled, cache operations will emit System.Diagnostics.Metrics with tag values as dimensions, | ||
/// providing richer telemetry for cache performance analysis by tag categories. | ||
/// </para> | ||
/// <para> | ||
/// <strong>Important PII and Security Considerations:</strong> | ||
/// </para> | ||
/// <list type="bullet"> | ||
/// <item><description> | ||
/// Ensure that tag values do not contain personally identifiable information (PII), | ||
/// sensitive data, or high-cardinality values that could overwhelm metrics systems. | ||
/// </description></item> | ||
/// <item><description> | ||
/// Tag values will be visible in metrics collection systems, dashboards, and telemetry pipelines. | ||
/// Only use tags that are safe for observability purposes. | ||
/// </description></item> | ||
/// <item><description> | ||
/// Consider using categorical values like "region", "service", "environment" rather than | ||
/// user-specific identifiers or sensitive business data. | ||
/// </description></item> | ||
/// <item><description> | ||
/// High-cardinality tags (e.g., user IDs, session IDs) can cause performance issues | ||
/// in metrics systems and should be avoided. | ||
/// </description></item> | ||
/// </list> | ||
/// <para> | ||
/// Example of appropriate tags: ["region:us-west", "service:api", "environment:prod"] | ||
Check failure on line 82 in src/Libraries/Microsoft.Extensions.Caching.Hybrid/HybridCacheOptions.cs
|
||
/// </para> | ||
/// <para> | ||
/// Example of inappropriate tags: ["user:[email protected]", "session:abc123", "customer-data:sensitive"] | ||
Check failure on line 85 in src/Libraries/Microsoft.Extensions.Caching.Hybrid/HybridCacheOptions.cs
|
||
/// </para> | ||
/// </remarks> | ||
public bool ReportTagMetrics { get; set; } | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.