-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev/saars/split service collection (#151)
* Refactor service collection builder * Update version number and build scripts * Build basic services * Add logging for user configurations * Clean up the APIs to enable AI.K8S * Add unit tests for configurations * Update readme * Fix a mistake in the readme
- Loading branch information
1 parent
de1b629
commit 68922e6
Showing
14 changed files
with
607 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/ApplicationInsights.Kubernetes/Extensions/AppInsightsForKubernetesOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
|
||
namespace Microsoft.Extensions.DependencyInjection | ||
{ | ||
/// <summary> | ||
/// Object model of configuration for Application Insights for Kubernetes. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
public class AppInsightsForKubernetesOptions | ||
{ | ||
/// <summary> | ||
/// Maximum time to wait for spinning up the container. | ||
/// </summary> | ||
/// <value></value> | ||
[JsonProperty("InitializationTimeout")] | ||
public TimeSpan InitializationTimeout { get; set; } = TimeSpan.FromMinutes(2); | ||
} | ||
} |
Oops, something went wrong.