Skip to content
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

Adds telemetry pipeline #259

Merged
merged 43 commits into from
Oct 10, 2023
Merged

Adds telemetry pipeline #259

merged 43 commits into from
Oct 10, 2023

Conversation

rossgrambo
Copy link
Contributor

Adds an evaluation event, publisher interface, and an implementation of the publisher for app insights.

This is the first of multiple PRs to support Telemetry. The goal of this PR is to empower developers to emit telemetry.

Excluded the example app from this PR to make reviews easier.
Also excluded is a way for developers to include or exclude fields. Currently the schema is declared inline.

rossgrambo and others added 3 commits September 12, 2023 16:18
Co-authored-by: Jimmy Campbell <jimmyca@microsoft.com>
Co-authored-by: Jimmy Campbell <jimmyca@microsoft.com>
…TelemetryPublisherAppInsights.cs

Co-authored-by: Jimmy Campbell <jimmyca@microsoft.com>
@rossgrambo
Copy link
Contributor Author

Created another PR that handles updating the build targets to Net6 and Net7 #271

@rossgrambo
Copy link
Contributor Author

Merged main into preview and persisted that here. Meaning we now test against/target net48 & net6.0 & net7.0

@Gryhyphen
Copy link

Ooooooooooooo AM EXCITE!!!!


telemetryEnabled = configurationSection.GetValue<bool>("TelemetryEnabled");

IConfigurationSection telemetryMetadataSection = configurationSection.GetSection("TelemetryMetadata");
Copy link
Contributor

@zhiyuanliang-ms zhiyuanliang-ms Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should "TelemetryMetadata" be moved into ConfigurationFields.cs as a const string?

@@ -283,6 +287,17 @@ We support
variants.Add(variant);
}
}

telemetryEnabled = configurationSection.GetValue<bool>("TelemetryEnabled");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should "TelemetryEnabled" be moved into ConfigurationFields.cs as a const string?

@@ -142,6 +146,16 @@ private async Task<bool> IsEnabledWithVariantsAsync<TContext>(string feature, TC
await sessionManager.SetAsync(feature, isFeatureEnabled).ConfigureAwait(false);
}

if (featureDefinition.TelemetryEnabled)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (featureDefinition != null && featureDefinition.TelemetryEnabled)

@rossgrambo rossgrambo deleted the rossgrambo/telemetry branch January 16, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants