public static string GetZipkinCollectorUrl(this IMicroServiceConfiguration configuration) { return(configuration.Section.GetSection("Monitor").GetValue <string>("ZipkinCollectorUrl")); }
public static IConfigurationSection GetAliyunLogConfig(this IMicroServiceConfiguration configuration) { return(configuration.Section.GetSection("Monitor").GetSection("AliyunLog")); }
public static IConfigurationSection GetAppMetricsConfig(this IMicroServiceConfiguration configuration) { return(configuration.Section.GetSection("Monitor").GetSection("AppMetrics")); }