├── .appveyor.yml
├── .gitattributes
├── .gitignore
├── .travis.yml
├── CONTRIBUTING.md
├── LICENSE
├── LICENSE.md
├── Management.sln
├── README.md
├── config
├── versions-dev.props
├── versions-master.props
└── versions.props
├── nuget.config
├── open_source_licenses.txt
├── src
├── Steeltoe.Management.CloudFoundryCore
│ ├── CloudFoundryApplicationBuilderExtensions.cs
│ ├── CloudFoundryServiceCollectionExtensions.cs
│ └── Steeltoe.Management.CloudFoundryCore.csproj
├── Steeltoe.Management.CloudFoundryTasks
│ ├── CloudFoundryServiceCollectionExtensions.cs
│ ├── CloudFoundryWebHostExtensions.cs
│ ├── DelegatingTask.cs
│ └── Steeltoe.Management.CloudFoundryTasks.csproj
├── Steeltoe.Management.Diagnostics
│ ├── Microsoft
│ │ ├── ClrAppDomain.cs
│ │ ├── ClrException.cs
│ │ ├── ClrHeap.cs
│ │ ├── ClrModule.cs
│ │ ├── ClrObject.cs
│ │ ├── ClrRuntime.cs
│ │ ├── ClrThread.cs
│ │ ├── ClrType.cs
│ │ ├── ClrValueClass.cs
│ │ ├── DacInterfaces.cs
│ │ ├── Debugger
│ │ │ └── Enums.cs
│ │ ├── Desktop
│ │ │ ├── com.cs
│ │ │ ├── domains.cs
│ │ │ ├── fields.cs
│ │ │ ├── heap.cs
│ │ │ ├── helpers.cs
│ │ │ ├── legacyruntime.cs
│ │ │ ├── lockinspection.cs
│ │ │ ├── methods.cs
│ │ │ ├── modules.cs
│ │ │ ├── runtimebase.cs
│ │ │ ├── threadpool.cs
│ │ │ ├── threads.cs
│ │ │ ├── types.cs
│ │ │ └── v45runtime.cs
│ │ ├── GCRoot.cs
│ │ ├── ICorDebug
│ │ │ └── IMetadataImport.cs
│ │ ├── MemoryReadException.cs
│ │ ├── ObjectSet.cs
│ │ ├── Utilities
│ │ │ ├── pefile.cs
│ │ │ └── sigparser.cs
│ │ ├── datatarget.cs
│ │ └── internal.cs
│ ├── MiniDumper.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Steeltoe.Management.Diagnostics.csproj
├── Steeltoe.Management.EndpointBase
│ ├── AbstractEndpoint.cs
│ ├── AbstractEndpointOptions.cs
│ ├── AbstractOptions.cs
│ ├── CloudFoundry
│ │ ├── CloudFoundryEndpoint.cs
│ │ ├── CloudFoundryEndpointOptions.cs
│ │ ├── CloudFoundryManagementOptions.cs
│ │ ├── CloudFoundryOptions.cs
│ │ ├── ICloudFoundryOptions.cs
│ │ ├── Link.cs
│ │ ├── Links.cs
│ │ ├── SecurityBase.cs
│ │ └── SecurityResult.cs
│ ├── Diagnostics
│ │ └── DiagnosticServices.cs
│ ├── EndpointExtensions.cs
│ ├── Env
│ │ ├── EnvEndpoint.cs
│ │ ├── EnvEndpointOptions.cs
│ │ ├── EnvOptions.cs
│ │ ├── EnvironmentDescriptor.cs
│ │ ├── GenericHostingEnvironment.cs
│ │ ├── IEnvOptions.cs
│ │ ├── PropertySourceDescriptor.cs
│ │ ├── PropertyValueDescriptor.cs
│ │ └── Sanitizer.cs
│ ├── Exposure.cs
│ ├── Health
│ │ ├── Contributor
│ │ │ ├── DiskSpaceContributor.cs
│ │ │ └── DiskSpaceContributorOptions.cs
│ │ ├── DefaultHealthAggregator.cs
│ │ ├── HealthEndpoint.cs
│ │ ├── HealthEndpointOptions.cs
│ │ ├── HealthJsonConverter.cs
│ │ ├── HealthOptions.cs
│ │ ├── IHealthAggregator.cs
│ │ ├── IHealthOptions.cs
│ │ └── ShowDetails.cs
│ ├── HeapDump
│ │ ├── HeapDumpEndpoint.cs
│ │ ├── HeapDumpEndpointOptions.cs
│ │ ├── HeapDumpOptions.cs
│ │ ├── HeapDumper.cs
│ │ ├── IHeapDumpOptions.cs
│ │ └── IHeapDumper.cs
│ ├── Hypermedia
│ │ ├── ActuatorContext.cs
│ │ ├── ActuatorEndpoint.cs
│ │ ├── ActuatorManagementOptions.cs
│ │ ├── HypermediaEndpointOptions.cs
│ │ ├── HypermediaService.cs
│ │ └── IActuatorHypermediaOptions.cs
│ ├── IEndpoint.cs
│ ├── IEndpointOptions.cs
│ ├── IManagementOptions.cs
│ ├── Info
│ │ ├── Contributor
│ │ │ ├── AbstractConfigurationContributor.cs
│ │ │ ├── AppSettingsInfoContributor.cs
│ │ │ └── GitInfoContributor.cs
│ │ ├── IInfoBuilder.cs
│ │ ├── IInfoContributor.cs
│ │ ├── IInfoOptions.cs
│ │ ├── InfoBuilder.cs
│ │ ├── InfoEndpoint.cs
│ │ ├── InfoEndpointOptions.cs
│ │ └── InfoOptions.cs
│ ├── Loggers
│ │ ├── ILoggersOptions.cs
│ │ ├── LoggerLevels.cs
│ │ ├── LoggersChangeRequest.cs
│ │ ├── LoggersEndpoint.cs
│ │ ├── LoggersEndpointOptions.cs
│ │ └── LoggersOptions.cs
│ ├── ManagementEndpointOptions.cs
│ ├── ManagementOptions.cs
│ ├── Mappings
│ │ ├── ApplicationMappings.cs
│ │ ├── ContextMappings.cs
│ │ ├── IMappingsOptions.cs
│ │ ├── IRouteDetails.cs
│ │ ├── MappingDescription.cs
│ │ ├── MappingsEndpoint.cs
│ │ ├── MappingsEndpointOptions.cs
│ │ └── MappingsOptions.cs
│ ├── MediaTypeVersion.cs
│ ├── Metrics
│ │ ├── IMetricsOptions.cs
│ │ ├── IMetricsResponse.cs
│ │ ├── MetricSample.cs
│ │ ├── MetricStatistic.cs
│ │ ├── MetricTag.cs
│ │ ├── MetricsEndpoint.cs
│ │ ├── MetricsEndpointOptions.cs
│ │ ├── MetricsHelpers.cs
│ │ ├── MetricsListNamesResponse.cs
│ │ ├── MetricsOptions.cs
│ │ ├── MetricsRequest.cs
│ │ ├── MetricsResponse.cs
│ │ └── Observer
│ │ │ ├── CLRRuntimeObserver.cs
│ │ │ ├── CLRRuntimeSource.cs
│ │ │ ├── HttpClientCoreObserver.cs
│ │ │ ├── HttpClientDesktopObserver.cs
│ │ │ └── MetricsObserver.cs
│ ├── Middleware
│ │ └── EndpointMiddleware.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Refresh
│ │ ├── IRefreshOptions.cs
│ │ ├── RefreshEndpoint.cs
│ │ ├── RefreshEndpointOptions.cs
│ │ └── RefreshOptions.cs
│ ├── Security
│ │ ├── EndpointClaim.cs
│ │ ├── ISecurityContext.cs
│ │ └── Permissions.cs
│ ├── Steeltoe.Management.EndpointBase.csproj
│ ├── ThreadDump
│ │ ├── IThreadDumpOptions.cs
│ │ ├── IThreadDumper.cs
│ │ ├── LockInfo.cs
│ │ ├── MetaDataImportProvider.cs
│ │ ├── MonitorInfo.cs
│ │ ├── StackTraceElement.cs
│ │ ├── TState.cs
│ │ ├── ThreadDumpEndpoint.cs
│ │ ├── ThreadDumpEndpointOptions.cs
│ │ ├── ThreadDumpEndpoint_v2.cs
│ │ ├── ThreadDumpOptions.cs
│ │ ├── ThreadDumpResult.cs
│ │ ├── ThreadDumper.cs
│ │ └── ThreadInfo.cs
│ ├── Trace
│ │ ├── HttpTraceEndpoint.cs
│ │ ├── HttpTraceEndpointOptions.cs
│ │ ├── HttpTraceResult.cs
│ │ ├── IHttpTraceRepository.cs
│ │ ├── ITraceOptions.cs
│ │ ├── ITraceRepository.cs
│ │ ├── TraceEndpoint.cs
│ │ ├── TraceEndpointOptions.cs
│ │ ├── TraceOptions.cs
│ │ └── TraceResult.cs
│ └── Utils.cs
├── Steeltoe.Management.EndpointCore
│ ├── ActuatorServiceCollectionExtensions.cs
│ ├── CloudFoundry
│ │ ├── CloudFoundryEndpointMiddleware.cs
│ │ ├── CloudFoundrySecurityMiddleware.cs
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ └── EndpointServiceCollectionExtensions.cs
│ ├── CoreSecurityContext.cs
│ ├── Env
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ └── EnvEndpointMiddleware.cs
│ ├── Health
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ ├── HealthCheckExtensions.cs
│ │ ├── HealthEndpointCore.cs
│ │ ├── HealthEndpointMiddleware.cs
│ │ ├── HealthRegistrationsAggregator.cs
│ │ └── IHealthRegistrationsAggregator.cs
│ ├── HeapDump
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ └── HeapDumpEndpointMiddleware.cs
│ ├── Hypermedia
│ │ ├── ActuatorHypermediaEndpointMiddleware.cs
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ └── EndpointServiceCollectionExtensions.cs
│ ├── Info
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ └── InfoEndpointMiddleware.cs
│ ├── Loggers
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ └── LoggersEndpointMiddleware.cs
│ ├── Mappings
│ │ ├── AspNetCoreRouteDetails.cs
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ ├── IRouteMappings.cs
│ │ ├── MappingsEndpointMiddleware.cs
│ │ ├── RouteBuilderExtensions.cs
│ │ └── RouteMappings.cs
│ ├── Metrics
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ ├── MetricsEndpointMiddleware.cs
│ │ └── Observer
│ │ │ └── AspNetCoreHostingObserver.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Refresh
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ └── RefreshEndpointMiddleware.cs
│ ├── Steeltoe.Management.EndpointCore.csproj
│ ├── ThreadDump
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ ├── ThreadDumpEndpointMiddleware.cs
│ │ └── ThreadDumpEndpointMiddleware_v2.cs
│ └── Trace
│ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ ├── EndpointServiceCollectionExtensions.cs
│ │ ├── HttpTraceDiagnosticObserver.cs
│ │ ├── HttpTraceEndpointMiddleware.cs
│ │ ├── TraceDiagnosticObserver.cs
│ │ └── TraceEndpointMiddleware.cs
├── Steeltoe.Management.EndpointOwin
│ ├── CloudFoundry
│ │ ├── CloudFoundryEndpointAppBuilderExtensions.cs
│ │ ├── CloudFoundryEndpointOwinMiddleware.cs
│ │ ├── CloudFoundrySecurityAppBuilderExtensions.cs
│ │ └── CloudFoundrySecurityOwinMiddleware.cs
│ ├── CloudFoundryAppBuilderExtensions.cs
│ ├── Diagnostics
│ │ ├── DiagnosticSourceAppBuilderExtensions.cs
│ │ └── DiagnosticSourceOwinMiddleware.cs
│ ├── EndpointOwinMiddleware.cs
│ ├── Env
│ │ └── EnvEndpointAppBuilderExtensions.cs
│ ├── Health
│ │ ├── HealthEndpointAppBuilderExtensions.cs
│ │ └── HealthEndpointOwinMiddleware.cs
│ ├── HeapDump
│ │ ├── HeapDumpEndpointAppBuilderExtensions.cs
│ │ └── HeapDumpEndpointOwinMiddleware.cs
│ ├── Hypermedia
│ │ ├── ActuatorHypermediaEndpointOwinMiddleware.cs
│ │ └── HypermediaActuatorEndpointAppBuilderExtensions.cs
│ ├── Info
│ │ └── InfoEndpointAppBuilderExtensions.cs
│ ├── Loggers
│ │ ├── LoggersEndpointAppBuilderExtensions.cs
│ │ └── LoggersEndpointOwinMiddleware.cs
│ ├── ManagementOptions.cs
│ ├── Mappings
│ │ ├── AspNetRouteDetails.cs
│ │ ├── MappingsEndpointAppBuilderExtensions.cs
│ │ └── MappingsEndpointOwinMiddleware.cs
│ ├── Metrics
│ │ ├── MetricsEndpointAppBuilderExtensions.cs
│ │ ├── MetricsEndpointOwinMiddleware.cs
│ │ └── Observer
│ │ │ └── OwinHostingObserver.cs
│ ├── OwinSecurityContext.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Refresh
│ │ └── RefreshEndpointAppBuilderExtensions.cs
│ ├── Steeltoe.Management.EndpointOwin.csproj
│ ├── ThreadDump
│ │ └── ThreadDumpEndpointAppBuilderExtensions.cs
│ └── Trace
│ │ ├── HttpTraceDiagnosticObserver.cs
│ │ ├── TraceDiagnosticObserver.cs
│ │ ├── TraceEndpointAppBuilderExtensions.cs
│ │ └── TraceEndpointOwinMiddleware.cs
├── Steeltoe.Management.EndpointOwinAutofac
│ ├── Actuators
│ │ ├── ActuatorContainerBuilderExtensions.cs
│ │ ├── CloudFoundryContainerBuilderExtensions.cs
│ │ ├── DiagnosticSourceContainerBuilderExtensions.cs
│ │ ├── EnvContainerBuilderExtensions.cs
│ │ ├── HealthContainerBuilderExtensions.cs
│ │ ├── HeapDumpContainerBuilderExtensions.cs
│ │ ├── InfoContainerBuilderExtensions.cs
│ │ ├── LoggersContainerBuilderExtensions.cs
│ │ ├── MappingsContainerBuilderExtensions.cs
│ │ ├── MetricsContainerBuilderExtensions.cs
│ │ ├── RefreshContainerBuilderExtensions.cs
│ │ ├── ThreadDumpContainerBuilderExtensions.cs
│ │ └── TraceContainerBuilderExtensions.cs
│ ├── ContainerBuilderExtensions.cs
│ └── Steeltoe.Management.EndpointOwinAutofac.csproj
├── Steeltoe.Management.EndpointWeb
│ ├── ActuatorConfigurator.cs
│ ├── AspNetRouteDetails.cs
│ ├── Handler
│ │ ├── ActuatorHandler.cs
│ │ ├── ActuatorHypermediaHandler.cs
│ │ ├── CloudFoundryCorsHandler.cs
│ │ ├── CloudFoundryHandler.cs
│ │ ├── EnvHandler.cs
│ │ ├── HealthHandler.cs
│ │ ├── HeapDumpHandler.cs
│ │ ├── HttpTraceHandler.cs
│ │ ├── IActuatorHandler.cs
│ │ ├── InfoHandler.cs
│ │ ├── LoggersHandler.cs
│ │ ├── MappingsHandler.cs
│ │ ├── MetricsHandler.cs
│ │ ├── RefreshHandler.cs
│ │ ├── ThreadDumpHandler.cs
│ │ ├── ThreadDumpHandler_v2.cs
│ │ └── TraceHandler.cs
│ ├── Module
│ │ └── ActuatorModule.cs
│ ├── Observer
│ │ ├── AspNetHostingObserver.cs
│ │ ├── HttpTraceDiagnosticObserver.cs
│ │ └── TraceDiagnosticObserver.cs
│ ├── Security
│ │ ├── CloudFoundrySecurity.cs
│ │ ├── ISecurityService.cs
│ │ ├── SecurityServiceExtension.cs
│ │ └── WebSecurityContext.cs
│ ├── Steeltoe.Management.EndpointWeb.csproj
│ └── StringExtensions.cs
├── Steeltoe.Management.ExporterBase
│ ├── Metrics
│ │ ├── CloudFoundryForwarder
│ │ │ ├── Application.cs
│ │ │ ├── CloudFoundryForwarderExporter.cs
│ │ │ ├── CloudFoundryForwarderOptions.cs
│ │ │ ├── CloudFoundryMetricWriter.cs
│ │ │ ├── ICloudFoundryMetricWriter.cs
│ │ │ ├── Instance.cs
│ │ │ ├── Message.cs
│ │ │ ├── Metric.cs
│ │ │ ├── MetricType.cs
│ │ │ ├── MicrometerMetricWriter.cs
│ │ │ └── SpringBootMetricWriter.cs
│ │ └── IMetricsExporter.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Steeltoe.Management.ExporterBase.csproj
│ └── Tracing
│ │ ├── ITraceExporter.cs
│ │ └── Zipkin
│ │ ├── ITraceExporterOptions.cs
│ │ ├── TraceExporter.cs
│ │ ├── TraceExporterHandler.cs
│ │ ├── TraceExporterOptions.cs
│ │ ├── ZipkinAnnotation.cs
│ │ ├── ZipkinEndpoint.cs
│ │ ├── ZipkinSpan.cs
│ │ └── ZipkinSpanKind.cs
├── Steeltoe.Management.ExporterCore
│ ├── Metrics
│ │ └── CloudFoundryForwarder
│ │ │ ├── EndpointApplicationBuilderExtensions.cs
│ │ │ └── EndpointServiceCollectionExtensions.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Steeltoe.Management.ExporterCore.csproj
│ └── Tracing
│ │ └── Zipkin
│ │ ├── ZipkinExporterApplicationBuilderExtensions.cs
│ │ └── ZipkinExporterServiceCollectionExtensions.cs
├── Steeltoe.Management.OpenCensus
│ ├── Api
│ │ ├── Common
│ │ │ ├── IClock.cs
│ │ │ ├── IDuration.cs
│ │ │ ├── IScope.cs
│ │ │ └── ITimestamp.cs
│ │ ├── Internal
│ │ │ ├── IEventQueue.cs
│ │ │ ├── IEventQueueEntry.cs
│ │ │ └── ITimestampConverter.cs
│ │ ├── Stats
│ │ │ ├── Aggregations
│ │ │ │ ├── ICount.cs
│ │ │ │ ├── ICountData.cs
│ │ │ │ ├── IDistribution.cs
│ │ │ │ ├── IDistributionData.cs
│ │ │ │ ├── ILastValue.cs
│ │ │ │ ├── ILastValueDataDouble.cs
│ │ │ │ ├── ILastValueDataLong.cs
│ │ │ │ ├── IMean.cs
│ │ │ │ ├── IMeanData.cs
│ │ │ │ ├── ISum.cs
│ │ │ │ ├── ISumDataDouble.cs
│ │ │ │ └── ISumDataLong.cs
│ │ │ ├── IAggregation.cs
│ │ │ ├── IAggregationData.cs
│ │ │ ├── IBucketBoundries.cs
│ │ │ ├── IMeasure.cs
│ │ │ ├── IMeasureMap.cs
│ │ │ ├── IMeasurement.cs
│ │ │ ├── IStats.cs
│ │ │ ├── IStatsComponent.cs
│ │ │ ├── IStatsRecorder.cs
│ │ │ ├── IView.cs
│ │ │ ├── IViewData.cs
│ │ │ ├── IViewManager.cs
│ │ │ ├── IViewName.cs
│ │ │ ├── MeasureUnit.cs
│ │ │ ├── Measurements
│ │ │ │ ├── IMeasurementDouble.cs
│ │ │ │ └── IMeasurementLong.cs
│ │ │ ├── Measures
│ │ │ │ ├── IMeasureDouble.cs
│ │ │ │ └── IMeasureLong.cs
│ │ │ └── StatsCollectionState.cs
│ │ ├── Tags
│ │ │ ├── ITag.cs
│ │ │ ├── ITagContext.cs
│ │ │ ├── ITagContextBuilder.cs
│ │ │ ├── ITagKey.cs
│ │ │ ├── ITagValue.cs
│ │ │ ├── ITagger.cs
│ │ │ ├── ITags.cs
│ │ │ ├── ITagsComponent.cs
│ │ │ ├── Propagation
│ │ │ │ ├── ITagContextBinarySerializer.cs
│ │ │ │ └── ITagPropagationComponent.cs
│ │ │ └── TaggingState.cs
│ │ └── Trace
│ │ │ ├── Config
│ │ │ ├── ITraceConfig.cs
│ │ │ └── ITraceParams.cs
│ │ │ ├── Export
│ │ │ ├── IAttributes.cs
│ │ │ ├── IErrorFilter.cs
│ │ │ ├── IExportComponent.cs
│ │ │ ├── IHandler.cs
│ │ │ ├── ILatencyFilter.cs
│ │ │ ├── ILinks.cs
│ │ │ ├── IRunningPerSpanNameSummary.cs
│ │ │ ├── IRunningSpanStore.cs
│ │ │ ├── IRunningSpanStoreFilter.cs
│ │ │ ├── IRunningSpanStoreSummary.cs
│ │ │ ├── ISampledLatencyBucketBoundaries.cs
│ │ │ ├── ISampledPerSpanNameSummary.cs
│ │ │ ├── ISampledSpanStore.cs
│ │ │ ├── ISampledSpanStoreErrorFilter.cs
│ │ │ ├── ISampledSpanStoreLatencyFilter.cs
│ │ │ ├── ISampledSpanStoreSummary.cs
│ │ │ ├── ISpanData.cs
│ │ │ ├── ISpanExporter.cs
│ │ │ ├── ITimedEvent.cs
│ │ │ └── ITimedEvents.cs
│ │ │ ├── IAnnotation.cs
│ │ │ ├── IAttributeValue.cs
│ │ │ ├── ILink.cs
│ │ │ ├── IMessageEvent.cs
│ │ │ ├── ISampler.cs
│ │ │ ├── ISpan.cs
│ │ │ ├── ISpanBuilder.cs
│ │ │ ├── ISpanContext.cs
│ │ │ ├── ISpanId.cs
│ │ │ ├── IStartEndHandler.cs
│ │ │ ├── ITraceComponent.cs
│ │ │ ├── ITraceId.cs
│ │ │ ├── ITracer.cs
│ │ │ ├── ITracing.cs
│ │ │ ├── Internal
│ │ │ └── IRandomGenerator.cs
│ │ │ └── Propagation
│ │ │ ├── IBinaryFormat.cs
│ │ │ ├── IGetter.cs
│ │ │ ├── IPropagationComponent.cs
│ │ │ ├── ISetter.cs
│ │ │ └── ITextFormat.cs
│ ├── Impl
│ │ ├── Common
│ │ │ ├── DateTimeOffsetClock.cs
│ │ │ ├── Duration.cs
│ │ │ ├── Timestamp.cs
│ │ │ └── ZeroTimeClock.cs
│ │ ├── Internal
│ │ │ ├── NoopScope.cs
│ │ │ ├── SimpleEventQueue.cs
│ │ │ ├── TimestampConverter.cs
│ │ │ └── VarInt.cs
│ │ ├── Stats
│ │ │ ├── Aggregation.cs
│ │ │ ├── AggregationData.cs
│ │ │ ├── Aggregations
│ │ │ │ ├── Count.cs
│ │ │ │ ├── CountData.cs
│ │ │ │ ├── Distribution.cs
│ │ │ │ ├── DistributionData.cs
│ │ │ │ ├── LastValue.cs
│ │ │ │ ├── LastValueDataDouble.cs
│ │ │ │ ├── LastValueDataLong.cs
│ │ │ │ ├── Mean.cs
│ │ │ │ ├── MeanData.cs
│ │ │ │ ├── Sum.cs
│ │ │ │ ├── SumDataDouble.cs
│ │ │ │ └── SumDataLong.cs
│ │ │ ├── BucketBoundaries.cs
│ │ │ ├── CumulativeMutableViewData.cs
│ │ │ ├── CurrentStatsState.cs
│ │ │ ├── IntervalBucket.cs
│ │ │ ├── Measure.cs
│ │ │ ├── MeasureMap.cs
│ │ │ ├── MeasureMapBase.cs
│ │ │ ├── MeasureMapBuilder.cs
│ │ │ ├── MeasureToViewMap.cs
│ │ │ ├── Measurement.cs
│ │ │ ├── Measurements
│ │ │ │ ├── MeasurementDouble.cs
│ │ │ │ └── MeasurementLong.cs
│ │ │ ├── Measures
│ │ │ │ ├── MeasureDouble.cs
│ │ │ │ └── MeasureLong.cs
│ │ │ ├── MutableAggregation.cs
│ │ │ ├── MutableCount.cs
│ │ │ ├── MutableDistribution.cs
│ │ │ ├── MutableLastValue.cs
│ │ │ ├── MutableMean.cs
│ │ │ ├── MutableSum.cs
│ │ │ ├── MutableViewData.cs
│ │ │ ├── NoopMeasureMap.cs
│ │ │ ├── NoopStats.cs
│ │ │ ├── NoopStatsComponent.cs
│ │ │ ├── NoopStatsRecorder.cs
│ │ │ ├── NoopViewManager.cs
│ │ │ ├── Stats.cs
│ │ │ ├── StatsComponent.cs
│ │ │ ├── StatsComponentBase.cs
│ │ │ ├── StatsExtensions.cs
│ │ │ ├── StatsManager.cs
│ │ │ ├── StatsRecorder.cs
│ │ │ ├── StatsRecorderBase.cs
│ │ │ ├── View.cs
│ │ │ ├── ViewData.cs
│ │ │ ├── ViewManager.cs
│ │ │ ├── ViewManagerBase.cs
│ │ │ └── ViewName.cs
│ │ ├── Tags
│ │ │ ├── CurrentTagContextUtils.cs
│ │ │ ├── CurrentTaggingState.cs
│ │ │ ├── NoopTagContext.cs
│ │ │ ├── NoopTagContextBinarySerializer.cs
│ │ │ ├── NoopTagContextBuilder.cs
│ │ │ ├── NoopTagPropagationComponent.cs
│ │ │ ├── NoopTagger.cs
│ │ │ ├── NoopTags.cs
│ │ │ ├── NoopTagsComponent.cs
│ │ │ ├── Propagation
│ │ │ │ ├── SerializationUtils.cs
│ │ │ │ ├── TagContextBinarySerializer.cs
│ │ │ │ ├── TagContextBinarySerializerBase.cs
│ │ │ │ ├── TagContextDeserializationException.cs
│ │ │ │ ├── TagContextSerializationException.cs
│ │ │ │ ├── TagPropagationComponent.cs
│ │ │ │ └── TagPropagationComponentBase.cs
│ │ │ ├── Tag.cs
│ │ │ ├── TagContext.cs
│ │ │ ├── TagContextBase.cs
│ │ │ ├── TagContextBuilder.cs
│ │ │ ├── TagContextBuilderBase.cs
│ │ │ ├── TagKey.cs
│ │ │ ├── TagValue.cs
│ │ │ ├── TagValues.cs
│ │ │ ├── Tagger.cs
│ │ │ ├── TaggerBase.cs
│ │ │ ├── Tags.cs
│ │ │ ├── TagsComponent.cs
│ │ │ ├── TagsComponentBase.cs
│ │ │ └── Unsafe
│ │ │ │ └── AsyncLocalContext.cs
│ │ └── Trace
│ │ │ ├── Annotation.cs
│ │ │ ├── AttributeValue.cs
│ │ │ ├── BlankSpan.cs
│ │ │ ├── CanonicalCode.cs
│ │ │ ├── Config
│ │ │ ├── NoopTraceConfig.cs
│ │ │ ├── TraceConfig.cs
│ │ │ ├── TraceConfigBase.cs
│ │ │ ├── TraceParams.cs
│ │ │ └── TraceParamsBuilder.cs
│ │ │ ├── CurrentSpanUtils.cs
│ │ │ ├── EndSpanOptions.cs
│ │ │ ├── EndSpanOptionsBuilder.cs
│ │ │ ├── EventWithNanoTime.cs
│ │ │ ├── Export
│ │ │ ├── Attributes.cs
│ │ │ ├── ExportComponent.cs
│ │ │ ├── ExportComponentBase.cs
│ │ │ ├── InProcessRunningSpanStore.cs
│ │ │ ├── InProcessSampledSpanStore.cs
│ │ │ ├── LatencyBucketBoundaries.cs
│ │ │ ├── LinkList.cs
│ │ │ ├── NoopExportComponent.cs
│ │ │ ├── NoopRunningSpanStore.cs
│ │ │ ├── NoopSampledSpanStore.cs
│ │ │ ├── NoopSpanExporter.cs
│ │ │ ├── RunningPerSpanNameSummary.cs
│ │ │ ├── RunningSpanStoreBase.cs
│ │ │ ├── RunningSpanStoreFilter.cs
│ │ │ ├── RunningSpanStoreSummary.cs
│ │ │ ├── SampledPerSpanNameSummary.cs
│ │ │ ├── SampledSpanStoreBase.cs
│ │ │ ├── SampledSpanStoreErrorFilter.cs
│ │ │ ├── SampledSpanStoreLatencyFilter.cs
│ │ │ ├── SampledSpanStoreSummary.cs
│ │ │ ├── SpanData.cs
│ │ │ ├── SpanExporter.cs
│ │ │ ├── SpanExporterBase.cs
│ │ │ ├── SpanExporterWorker.cs
│ │ │ ├── SpanExtensions.cs
│ │ │ ├── TimedEvent.cs
│ │ │ └── TimedEvents.cs
│ │ │ ├── Internal
│ │ │ └── RandomGenerator.cs
│ │ │ ├── Link.cs
│ │ │ ├── LinkType.cs
│ │ │ ├── MessageEvent.cs
│ │ │ ├── MessageEventBuilder.cs
│ │ │ ├── MessageEventType.cs
│ │ │ ├── NoopSpanBuilder.cs
│ │ │ ├── NoopTraceComponent.cs
│ │ │ ├── NoopTracer.cs
│ │ │ ├── Propagation
│ │ │ ├── B3Format.cs
│ │ │ ├── BinaryFormat.cs
│ │ │ ├── BinaryFormatBase.cs
│ │ │ ├── NoopBinaryFormat.cs
│ │ │ ├── NoopPropagationComponent.cs
│ │ │ ├── NoopTextFormat.cs
│ │ │ ├── PropagationComponent.cs
│ │ │ ├── PropagationComponentBase.cs
│ │ │ ├── SpanContextParseException.cs
│ │ │ └── TextFormatBase.cs
│ │ │ ├── Sampler
│ │ │ ├── AlwaysSampleSampler.cs
│ │ │ ├── NeverSampleSampler.cs
│ │ │ ├── ProbabilitySampler.cs
│ │ │ └── Samplers.cs
│ │ │ ├── Span.cs
│ │ │ ├── SpanAttributeConstants.cs
│ │ │ ├── SpanBase.cs
│ │ │ ├── SpanBuilder.cs
│ │ │ ├── SpanBuilderBase.cs
│ │ │ ├── SpanBuilderOptions.cs
│ │ │ ├── SpanContext.cs
│ │ │ ├── SpanExtensions.cs
│ │ │ ├── SpanId.cs
│ │ │ ├── SpanOptions.cs
│ │ │ ├── StartEndHandler.cs
│ │ │ ├── Status.cs
│ │ │ ├── TraceComponent.cs
│ │ │ ├── TraceComponentBase.cs
│ │ │ ├── TraceEvents.cs
│ │ │ ├── TraceId.cs
│ │ │ ├── TraceOptions.cs
│ │ │ ├── TraceOptionsBuilder.cs
│ │ │ ├── Tracer.cs
│ │ │ ├── TracerBase.cs
│ │ │ ├── Tracing.cs
│ │ │ └── Unsafe
│ │ │ ├── AsyncLocalContext.cs
│ │ │ └── IAsyncLocalContextListener.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Steeltoe.Management.OpenCensus.csproj
│ └── Utils
│ │ ├── Arrays.cs
│ │ ├── AttributesWithCapacity.cs
│ │ ├── CanonicalCodeExtensions.cs
│ │ ├── Collections.cs
│ │ ├── ConcurrentIntrusiveList.cs
│ │ ├── DefaultEventQueue.cs
│ │ ├── DoubleUtil.cs
│ │ ├── EvictingQueue.cs
│ │ ├── IElement.cs
│ │ └── StringUtil.cs
├── Steeltoe.Management.OpenCensusBase
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Stats
│ │ ├── IStats.cs
│ │ ├── MeasureUnit.cs
│ │ └── OpenCensusStats.cs
│ ├── Steeltoe.Management.OpenCensusBase.csproj
│ ├── Tags
│ │ ├── ITags.cs
│ │ └── OpenCensusTags.cs
│ └── Trace
│ │ ├── ITracing.cs
│ │ ├── ITracingOptions.cs
│ │ ├── OpenCensusTracing.cs
│ │ ├── Propagation
│ │ ├── B3Constants.cs
│ │ ├── B3PropagationComponent.cs
│ │ └── ThrowsBinaryFormat.cs
│ │ ├── SpanAttributeConstants.cs
│ │ └── SpanExtensions.cs
├── Steeltoe.Management.TracingBase
│ ├── Observer
│ │ ├── HttpClientCoreObserver.cs
│ │ ├── HttpClientDesktopObserver.cs
│ │ └── HttpClientTracingObserver.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Steeltoe.Management.TracingBase.csproj
│ ├── TracingLogProcessor.cs
│ └── TracingOptions.cs
└── Steeltoe.Management.TracingCore
│ ├── Observer
│ ├── AspNetCoreHostingObserver.cs
│ ├── AspNetCoreMvcActionObserver.cs
│ ├── AspNetCoreMvcViewObserver.cs
│ └── AspNetCoreTracingObserver.cs
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── Steeltoe.Management.TracingCore.csproj
│ ├── TracingService.cs
│ └── TracingServiceCollectionExtensions.cs
├── stylecop.json
├── targetframework.props
├── test
├── Steeltoe.Management.CloudFoundryCore.Test
│ ├── CloudFoundryApplicationBuilderExtensionsTest.cs
│ ├── CloudFoundryServiceCollectionExtensionsTest.cs
│ └── Steeltoe.Management.CloudFoundryCore.Test.csproj
├── Steeltoe.Management.EndpointBase.Test
│ ├── AbstractEndpointTest.cs
│ ├── AbstractOptionsTest.cs
│ ├── BaseTest.cs
│ ├── CloudFoundry
│ │ ├── CloudFoundryEndpointTest.cs
│ │ ├── CloudFoundryOptionsTest.cs
│ │ ├── SecurityBaseTest.cs
│ │ └── git.properties
│ ├── Env
│ │ ├── EnvEndpointTest.cs
│ │ ├── EnvOptionsTest.cs
│ │ ├── EnvironmentDescriptorTest.cs
│ │ ├── PropertySourceDescriptorTest.cs
│ │ └── PropertyValueDescriptorTest.cs
│ ├── Health
│ │ ├── Contributor
│ │ │ ├── DiskSpaceContributorOptionsTest.cs
│ │ │ └── DiskSpaceContributorTest.cs
│ │ ├── DefaultHealthAggregatorTest.cs
│ │ ├── HealthData.cs
│ │ ├── HealthEndpointTest.cs
│ │ ├── HealthOptionsTest.cs
│ │ ├── HealthTest.cs
│ │ └── MockContributors
│ │ │ ├── DownContributor.cs
│ │ │ ├── OutOfSserviceContributor.cs
│ │ │ ├── TestContrib.cs
│ │ │ ├── UnknownContributor.cs
│ │ │ └── UpContributor.cs
│ ├── HeapDump
│ │ ├── HeapDumpEndpointTest.cs
│ │ └── HeapDumpOptionsTest.cs
│ ├── Hypermedia
│ │ ├── ActuatorHypermediaOptionsTest.cs
│ │ ├── HypermediaEndpointTest.cs
│ │ └── git.properties
│ ├── Info
│ │ ├── AppSettingsInfoContributorTest.cs
│ │ ├── Contributor
│ │ │ ├── AppSettingsInfoContributorTest.cs
│ │ │ └── GitInfoContributorTest.cs
│ │ ├── GitInfoContributorTest.cs
│ │ ├── InfoBuilderTest.cs
│ │ ├── InfoEndpointTest.cs
│ │ ├── InfoOptionsTest.cs
│ │ ├── TestContrib.cs
│ │ ├── empty.git.properties
│ │ ├── garbage.git.properties
│ │ └── git.properties
│ ├── Loggers
│ │ ├── LoggerLevelsTest.cs
│ │ ├── LoggersChangeRequestTest.cs
│ │ ├── LoggersEndpointTest.cs
│ │ ├── LoggersOptionsTest.cs
│ │ └── TestLogProvider.cs
│ ├── ManagementOptionsTest.cs
│ ├── Mappings
│ │ ├── ApplicationMappingsTest.cs
│ │ ├── ContextMappingsTest.cs
│ │ ├── MappingDescriptionTest.cs
│ │ ├── MappingsOptionsTest.cs
│ │ └── TestRouteDetails.cs
│ ├── Metrics
│ │ ├── MetricSampleTest.cs
│ │ ├── MetricTagTest.cs
│ │ ├── MetricsEndpointTest.cs
│ │ ├── MetricsListNamesResponseTest.cs
│ │ ├── MetricsOptionsTest.cs
│ │ ├── MetricsRequestTest.cs
│ │ ├── MetricsResponseTest.cs
│ │ └── Observer
│ │ │ ├── CLRRuntimeObserverTest.cs
│ │ │ ├── CLRRuntimeSourceTest.cs
│ │ │ ├── HttpClientCoreObserverTest.cs
│ │ │ └── HttpClientDesktopObserverTest.cs
│ ├── Middleware
│ │ └── EndpointMiddlewareTest.cs
│ ├── Refresh
│ │ ├── RefreshEndpointTest.cs
│ │ └── RefreshOptionsTest.cs
│ ├── Steeltoe.Management.EndpointBase.Test.csproj
│ ├── TestEndpoint.cs
│ ├── TestHelpers.cs
│ ├── TestOptions.cs
│ ├── TestOptions2.cs
│ ├── ThreadDump
│ │ ├── TestThreadDumper.cs
│ │ ├── ThreadDumpEndpointTest.cs
│ │ └── ThreadDumpOptionsTest.cs
│ ├── Trace
│ │ ├── TestTraceEndpoint.cs
│ │ ├── TestTraceRepo.cs
│ │ ├── TraceEndpointTest.cs
│ │ └── TraceOptionsTest.cs
│ ├── empty.git.properties
│ ├── garbage.git.properties
│ ├── git.properties
│ └── xunit.runner.json
├── Steeltoe.Management.EndpointCore.Test
│ ├── CloudFoundry
│ │ ├── CloudFoundrySecurityMiddlewareTest.cs
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ ├── Startup.cs
│ │ ├── StartupWithSecurity.cs
│ │ └── TestCloudFoundryEndpoint.cs
│ ├── Env
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ └── Startup.cs
│ ├── Health
│ │ ├── AuthStartup.cs
│ │ ├── AuthenticatedTestMiddleware.cs
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ ├── HealthEndpointTest.cs
│ │ ├── Startup.cs
│ │ ├── TestContributor.cs
│ │ ├── TestHealthCheck.cs
│ │ └── TestHealthEndpoint.cs
│ ├── HeapDump
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ └── Startup.cs
│ ├── Hypermedia
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ ├── Startup.cs
│ │ ├── StartupWithSecurity.cs
│ │ └── TestHypermediaEndpoint.cs
│ ├── Info
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ ├── Startup.cs
│ │ ├── TestInfoContributor.cs
│ │ ├── TestInfoEndpoint.cs
│ │ ├── TestLogger.cs
│ │ ├── empty.git.properties
│ │ ├── garbage.git.properties
│ │ └── git.properties
│ ├── Loggers
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ ├── Startup.cs
│ │ └── TestLoggersEndpoint.cs
│ ├── Mappings
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ ├── HomeController.cs
│ │ ├── Person.cs
│ │ └── Startup.cs
│ ├── Metrics
│ │ ├── EndpointServiceCollectionExtensionsTest.cs
│ │ ├── MetricsEndpointMiddlewareTest.cs
│ │ └── Observer
│ │ │ └── AspNetCoreHostingObserverTest.cs
│ ├── Refresh
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ └── Startup.cs
│ ├── Security
│ │ ├── SecureStartup.cs
│ │ ├── SetsUserInContextForTestsMiddleware.cs
│ │ └── Startup.cs
│ ├── Steeltoe.Management.EndpointCore.Test.csproj
│ ├── TestHelpers.cs
│ ├── ThreadDump
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ └── Startup.cs
│ ├── Trace
│ │ ├── EndpointApplicationBuilderExtensionsTest.cs
│ │ ├── EndpointMiddlewareTest.cs
│ │ ├── EndpointServiceCollectionTest.cs
│ │ ├── MyIdentity.cs
│ │ ├── SessionFeature.cs
│ │ ├── Startup.cs
│ │ ├── TestSession.cs
│ │ ├── TestTraceEndpoint.cs
│ │ └── TraceDiagnosticObserverTest.cs
│ ├── empty.git.properties
│ ├── garbage.git.properties
│ ├── git.properties
│ └── xunit.runner.json
├── Steeltoe.Management.EndpointOwin.Test
│ ├── CloudFoundry
│ │ ├── CloudFoundryEndpointAppBuilderExtensionsTest.cs
│ │ ├── CloudFoundryEndpointOwinMiddlewareTest.cs
│ │ ├── CloudFoundrySecurityAppBuilderExtensionsTest.cs
│ │ ├── CloudFoundrySecurityMiddlewareTest.cs
│ │ ├── Startup.cs
│ │ ├── StartupWithSecurity.cs
│ │ └── TestCloudFoundryEndpoint.cs
│ ├── Env
│ │ ├── EnvEndpointAppBuilderExtensionsTest.cs
│ │ ├── EnvOwinMiddlewareTest.cs
│ │ └── Startup.cs
│ ├── Health
│ │ ├── HealthEndpointAppBuilderExtensionsTest.cs
│ │ ├── HealthEndpointOwinMiddlewareTest.cs
│ │ ├── Startup.cs
│ │ └── TestHealthEndpoint.cs
│ ├── HeapDump
│ │ ├── HeapDumpEndpointAppBuilderExtensionsTest.cs
│ │ ├── HeapDumpEndpointOwinMiddlewareTest.cs
│ │ └── Startup.cs
│ ├── Hypermedia
│ │ ├── ActuatorSecurityMiddlewareTest.cs
│ │ ├── HypermediaEndpointAppBuilderExtensionsTest.cs
│ │ ├── HypermediaEndpointOwinMiddlewareTest.cs
│ │ ├── Startup.cs
│ │ ├── StartupWithSecurity.cs
│ │ └── TestActuatorHypermediaEndpoint.cs
│ ├── Info
│ │ ├── InfoEndpointAppBuilderExtensionsTest.cs
│ │ ├── InfoEndpointOwinMiddlewareTest.cs
│ │ ├── Startup.cs
│ │ └── TestInfoEndpoint.cs
│ ├── Loggers
│ │ ├── LoggersEndpointAppBuilderExtensionsTest.cs
│ │ ├── LoggersEndpointOwinMiddlewareTest.cs
│ │ ├── Startup.cs
│ │ └── TestLoggersEndpoint.cs
│ ├── Metrics
│ │ ├── MetricsEndpointAppBuilderExtensionsTest.cs
│ │ ├── MetricsEndpointOwinMiddlewareTest.cs
│ │ └── Startup.cs
│ ├── OwinTestHelpers.cs
│ ├── Refresh
│ │ ├── RefreshEndpointAppBuilderExtensionsTest.cs
│ │ ├── RefreshEndpointOwinMiddlewareTest.cs
│ │ └── Startup.cs
│ ├── Security
│ │ ├── AuthenticationTestMiddleware.cs
│ │ ├── SecureStartup.cs
│ │ └── Startup.cs
│ ├── Steeltoe.Management.EndpointOwin.Test.csproj
│ ├── ThreadDump
│ │ ├── Startup.cs
│ │ ├── ThreadDumpEndpointAppBuilderExtensionsTest.cs
│ │ └── ThreadDumpEndpointOwinMiddlewareTest.cs
│ ├── Trace
│ │ ├── MyIdentity.cs
│ │ ├── Startup.cs
│ │ ├── TestTraceEndpoint.cs
│ │ ├── TraceEndpointAppBuilderExtensionsTest.cs
│ │ └── TraceEndpointOwinMiddlewareTest.cs
│ ├── empty.git.properties
│ ├── garbage.git.properties
│ ├── git.properties
│ └── xunit.runner.json
├── Steeltoe.Management.EndpointOwinAutofac.Test
│ ├── Actuators
│ │ ├── CloudFoundryContainerBuilderExtensionsTest.cs
│ │ ├── EnvContainerBuilderExtensionsTest.cs
│ │ ├── HealthContainerBuilderExtensionsTest.cs
│ │ ├── HeapDumpContainerBuilderExtensionsTest.cs
│ │ ├── InfoContainerBuilderExtensionsTest.cs
│ │ ├── LoggersContainerBuilderExtensionsTest.cs
│ │ ├── MappingsContainerBuilderExtensionsTest.cs
│ │ ├── MetricsContainerBuilderExtensionsTest.cs
│ │ ├── RefreshContainerBuilderExtensionsTest.cs
│ │ ├── ThreadDumpContainerBuilderExtensionsTest.cs
│ │ └── TraceContainerBuilderExtensionsTest.cs
│ ├── Steeltoe.Management.EndpointOwinAutofac.Test.csproj
│ └── xunit.runner.json
├── Steeltoe.Management.EndpointWeb.Test
│ ├── ActuatorHandlerTest.cs
│ ├── DefaultTestSettingsConfig.cs
│ ├── ManagementConfig.cs
│ ├── Steeltoe.Management.EndpointWeb.Test.csproj
│ ├── TestServer
│ │ ├── Settings.cs
│ │ ├── TestHttpClient.cs
│ │ ├── TestRequest.cs
│ │ ├── TestResponse.cs
│ │ ├── TestServer.cs
│ │ └── TestUser.cs
│ ├── empty.git.properties
│ ├── garbage.git.properties
│ ├── git.properties
│ ├── stylecop.json
│ └── xunit.runner.json
├── Steeltoe.Management.ExporterBase.Test
│ ├── Metrics
│ │ └── CloudFoundryForwarder
│ │ │ ├── ApplicationTest.cs
│ │ │ ├── BaseTest.cs
│ │ │ ├── CloudFoundryForwarderExporterTest.cs
│ │ │ ├── CloudFoundryForwarderOptionsTest.cs
│ │ │ ├── InstanceTest.cs
│ │ │ ├── MessageTest.cs
│ │ │ ├── MetricTest.cs
│ │ │ ├── MicrometerMetricWriterTest.cs
│ │ │ ├── OpenCensusStats.cs
│ │ │ └── SpringBootMetricWriterTest.cs
│ ├── Steeltoe.Management.ExporterBase.Test.csproj
│ ├── Tracing
│ │ └── Zipkin
│ │ │ └── TraceExporterOptionsTest.cs
│ └── xunit.runner.json
├── Steeltoe.Management.ExporterCore.Test
│ ├── Steeltoe.Management.ExporterCore.Test.csproj
│ ├── Tracing
│ │ └── Zipkin
│ │ │ └── ZipkinExporterServiceCollectionExtensionsTest.cs
│ └── xunit.runner.json
├── Steeltoe.Management.OpenCensus.Test
│ ├── Impl
│ │ ├── Common
│ │ │ ├── DurationTest.cs
│ │ │ └── TimestampTest.cs
│ │ ├── Internal
│ │ │ └── TimestampConverterTest.cs
│ │ ├── Stats
│ │ │ ├── AggregationDataTest.cs
│ │ │ ├── AggregationTest.cs
│ │ │ ├── BucketBoundariesTest.cs
│ │ │ ├── CurrentStatsStateTest.cs
│ │ │ ├── MeasureMapBuilderTest.cs
│ │ │ ├── MeasureTest.cs
│ │ │ ├── MeasureToViewMapTest.cs
│ │ │ ├── MutableAggregationTest.cs
│ │ │ ├── MutableViewDataTest.cs
│ │ │ ├── NoopStatsTest.cs
│ │ │ ├── NoopViewManagerTest.cs
│ │ │ ├── QuickStartExampleTest.cs
│ │ │ ├── StatsComponentTest.cs
│ │ │ ├── StatsDefaultTest.cs
│ │ │ ├── StatsRecorderTest.cs
│ │ │ ├── StatsTest.cs
│ │ │ ├── StatsTestUtil.cs
│ │ │ ├── ViewDataTest.cs
│ │ │ ├── ViewManagerTest.cs
│ │ │ └── ViewTest.cs
│ │ ├── Tags
│ │ │ ├── CurrentTagContextUtilsTest.cs
│ │ │ ├── CurrentTaggingStateTest.cs
│ │ │ ├── NoopTagsTest.cs
│ │ │ ├── Propagation
│ │ │ │ ├── TagContextBinarySerializerTest.cs
│ │ │ │ ├── TagContextDeserializationExceptionTest.cs
│ │ │ │ ├── TagContextDeserializationTest.cs
│ │ │ │ ├── TagContextRoundtripTest.cs
│ │ │ │ ├── TagContextSerializationExceptionTest.cs
│ │ │ │ └── TagContextSerializationTest.cs
│ │ │ ├── ScopedTagContextsTest.cs
│ │ │ ├── TagContextBaseTest.cs
│ │ │ ├── TagContextTest.cs
│ │ │ ├── TagKeyTest.cs
│ │ │ ├── TagTest.cs
│ │ │ ├── TagValueTest.cs
│ │ │ ├── TaggerTest.cs
│ │ │ ├── TagsComponentBaseTest.cs
│ │ │ ├── TagsDefaultTest.cs
│ │ │ ├── TagsTest.cs
│ │ │ └── TagsTestUtil.cs
│ │ ├── Testing
│ │ │ ├── Common
│ │ │ │ └── TestClock.cs
│ │ │ └── Export
│ │ │ │ └── TestHandler.cs
│ │ └── Trace
│ │ │ ├── AnnotationTest.cs
│ │ │ ├── AttributeValueTest.cs
│ │ │ ├── BlankSpanTest.cs
│ │ │ ├── Config
│ │ │ ├── TraceConfigBaseTest.cs
│ │ │ ├── TraceConfigTest.cs
│ │ │ └── TraceParamsTest.cs
│ │ │ ├── CurrentSpanUtilsTest.cs
│ │ │ ├── EndSpanOptionsTest.cs
│ │ │ ├── Export
│ │ │ ├── ExportComponentBaseTest.cs
│ │ │ ├── ExportComponentTest.cs
│ │ │ ├── InProcessRunningSpanStoreTest.cs
│ │ │ ├── InProcessSampledSpanStoreTest.cs
│ │ │ ├── NoopRunningSpanStoreTest.cs
│ │ │ ├── NoopSampledSpanStoreTest.cs
│ │ │ ├── SpanDataTest.cs
│ │ │ └── SpanExporterTest.cs
│ │ │ ├── Internal
│ │ │ └── ConcurrentIntrusiveListTest.cs
│ │ │ ├── LinkTest.cs
│ │ │ ├── MessageEventTest.cs
│ │ │ ├── NoopSpan.cs
│ │ │ ├── Propagation
│ │ │ ├── B3FormatTest.cs
│ │ │ ├── BinaryFormatBaseTest.cs
│ │ │ ├── BinaryFormatTest.cs
│ │ │ ├── PropagationComponentBaseTest.cs
│ │ │ ├── PropagationComponentTest.cs
│ │ │ ├── SpanContextParseExceptionTest.cs
│ │ │ └── TextFormatBaseTest.cs
│ │ │ ├── Sampler
│ │ │ └── SamplersTest.cs
│ │ │ ├── SpanBaseTest.cs
│ │ │ ├── SpanBuilderBaseTest.cs
│ │ │ ├── SpanBuilderTest.cs
│ │ │ ├── SpanContextTest.cs
│ │ │ ├── SpanIdTest.cs
│ │ │ ├── SpanTest.cs
│ │ │ ├── StatusTest.cs
│ │ │ ├── TraceComponentBaseTest.cs
│ │ │ ├── TraceComponentTest.cs
│ │ │ ├── TraceIdTest.cs
│ │ │ ├── TraceOptionsTest.cs
│ │ │ ├── TracerBaseTest.cs
│ │ │ ├── TracerTest.cs
│ │ │ └── TracingTest.cs
│ ├── Steeltoe.Management.OpenCensus.Test.csproj
│ └── xunit.runner.json
├── Steeltoe.Management.TracingBase.Test
│ ├── Observer
│ │ ├── AbstractObserverTest.cs
│ │ ├── HttpClientCoreObserverTest.cs
│ │ └── HttpClientDesktopObserverTest.cs
│ ├── OpernCensusTracingTest.cs
│ ├── Steeltoe.Management.TracingBase.Test.csproj
│ ├── TracingLogProcessorTest.cs
│ ├── TracingOptionsTest.cs
│ └── xunit.runner.json
├── Steeltoe.Management.TracingCore.Test
│ ├── Observer
│ │ ├── AspNetCoreHostingObserverTest.cs
│ │ ├── AspNetCoreMvcActionObserverTest.cs
│ │ └── AspNetCoreMvcViewObserverTest.cs
│ ├── Steeltoe.Management.TracingCore.Test.csproj
│ ├── TestBase.cs
│ ├── TracingServiceCollectionExtensionsTest.cs
│ └── xunit.runner.json
└── Steeltoe.Managment.CloudFoundryTasks.Test
│ ├── CloudFoundryTaskRunTest.cs
│ └── Steeltoe.Managment.CloudFoundryTasks.Test.csproj
└── versions.props
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.doc diff=astextplain
2 | *.DOC diff=astextplain
3 | *.docx diff=astextplain
4 | *.DOCX diff=astextplain
5 | *.dot diff=astextplain
6 | *.DOT diff=astextplain
7 | *.pdf diff=astextplain
8 | *.PDF diff=astextplain
9 | *.rtf diff=astextplain
10 | *.RTF diff=astextplain
11 |
12 | *.jpg binary
13 | *.png binary
14 | *.gif binary
15 |
16 | *.cs text=auto diff=csharp
17 | *.vb text=auto
18 | *.resx text=auto
19 | *.c text=auto
20 | *.cpp text=auto
21 | *.cxx text=auto
22 | *.h text=auto
23 | *.hxx text=auto
24 | *.py text=auto
25 | *.rb text=auto
26 | *.java text=auto
27 | *.html text=auto
28 | *.htm text=auto
29 | *.css text=auto
30 | *.scss text=auto
31 | *.sass text=auto
32 | *.less text=auto
33 | *.js text=auto
34 | *.lisp text=auto
35 | *.clj text=auto
36 | *.sql text=auto
37 | *.php text=auto
38 | *.lua text=auto
39 | *.m text=auto
40 | *.asm text=auto
41 | *.erl text=auto
42 | *.fs text=auto
43 | *.fsx text=auto
44 | *.hs text=auto
45 |
46 | *.csproj text=auto
47 | *.vbproj text=auto
48 | *.fsproj text=auto
49 | *.dbproj text=auto
50 | *.sln text=auto eol=crlf
51 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: csharp
2 | dist: trusty
3 | env:
4 | TestFrameworkVersion: netcoreapp2.1
5 | STEELTOE_VERSION: 2.2.0
6 | global:
7 | - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
8 | - DOTNET_CLI_TELEMETRY_OPTOUT: 1
9 | mono: none
10 | dotnet: 2.1.403
11 | os:
12 | - linux
13 | - osx
14 | osx_image: xcode8.3
15 | branches:
16 | only:
17 | - master
18 | - dev
19 | - /^update[0-9]{2}x/
20 | script:
21 | - ./steeltoe-ci/scripts/travis_install.sh
22 | - ./steeltoe-ci/scripts/travis_build.sh
23 | - ./steeltoe-ci/scripts/travis_test.sh
24 | before_install:
25 | - git clone https://github.com/SteeltoeOSS/steeltoe-ci.git -v
26 | - if [ "$TRAVIS_OS_NAME" = "osx" ]; then ulimit -n 1024; fi
27 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | If you have not previously done so, please fill out and
2 | submit the [Contributor License Agreement](https://cla.pivotal.io/sign/pivotal).
3 |
--------------------------------------------------------------------------------
/nuget.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.CloudFoundryTasks/DelegatingTask.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Steeltoe.Common.Tasks;
16 | using System;
17 |
18 | namespace Steeltoe.Management.CloudFoundryTasks
19 | {
20 | public class DelegatingTask : IApplicationTask
21 | {
22 | private readonly Action _run;
23 |
24 | public DelegatingTask(string name, Action run)
25 | {
26 | _run = run;
27 | Name = name;
28 | }
29 |
30 | public string Name { get; }
31 |
32 | public void Run() => _run();
33 | }
34 | }
--------------------------------------------------------------------------------
/src/Steeltoe.Management.Diagnostics/Microsoft/MemoryReadException.cs:
--------------------------------------------------------------------------------
1 | // This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis.
2 | //
3 |
4 | // Copyright (c) Microsoft. All rights reserved.
5 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
6 |
7 | using System.IO;
8 |
9 | namespace Microsoft.Diagnostics.Runtime
10 | {
11 | ///
12 | /// Thrown when we fail to read memory from the target process.
13 | ///
14 | internal class MemoryReadException : IOException
15 | {
16 | ///
17 | /// The address of memory that could not be read.
18 | ///
19 | public ulong Address { get; private set; }
20 |
21 | ///
22 | /// Constructor
23 | ///
24 | /// The address of memory that could not be read.
25 | public MemoryReadException(ulong address)
26 | : base(string.Format("Could not read memory at {0:x}.", address))
27 | {
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.Diagnostics/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Runtime.CompilerServices;
16 |
17 | [assembly: InternalsVisibleTo("Steeltoe.Management.EndpointBase")]
18 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/CloudFoundry/ICloudFoundryOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.CloudFoundry
16 | {
17 | public interface ICloudFoundryOptions : IEndpointOptions
18 | {
19 | bool ValidateCertificates { get; }
20 |
21 | string ApplicationId { get; }
22 |
23 | string CloudFoundryApi { get; }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Env/IEnvOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Env
16 | {
17 | public interface IEnvOptions : IEndpointOptions
18 | {
19 | string[] KeysToSanitize { get; }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Health/IHealthAggregator.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Steeltoe.Common.HealthChecks;
16 | using System.Collections.Generic;
17 |
18 | namespace Steeltoe.Management.Endpoint.Health
19 | {
20 | public interface IHealthAggregator
21 | {
22 | HealthCheckResult Aggregate(IList contributors);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Health/IHealthOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Steeltoe.Management.Endpoint.Security;
16 |
17 | namespace Steeltoe.Management.Endpoint.Health
18 | {
19 | public interface IHealthOptions : IEndpointOptions
20 | {
21 | ShowDetails ShowDetails { get; set; }
22 |
23 | EndpointClaim Claim { get; set; }
24 |
25 | string Role { get; set; }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Health/ShowDetails.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Health
16 | {
17 | public enum ShowDetails
18 | {
19 | Always,
20 | Never,
21 | WhenAuthorized
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/HeapDump/IHeapDumpOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.HeapDump
16 | {
17 | public interface IHeapDumpOptions : IEndpointOptions
18 | {
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/HeapDump/IHeapDumper.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.HeapDump
16 | {
17 | public interface IHeapDumper
18 | {
19 | string DumpHeap();
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Hypermedia/IActuatorHypermediaOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Hypermedia
16 | {
17 | public interface IActuatorHypermediaOptions : IEndpointOptions
18 | {
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/IManagementOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System;
16 | using System.Collections.Generic;
17 |
18 | namespace Steeltoe.Management.Endpoint
19 | {
20 | public interface IManagementOptions
21 | {
22 | bool? Enabled { get; }
23 |
24 | [Obsolete]
25 | bool? Sensitive { get; }
26 |
27 | string Path { get; }
28 |
29 | List EndpointOptions { get; }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Info/IInfoBuilder.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.Info
18 | {
19 | public interface IInfoBuilder
20 | {
21 | IInfoBuilder WithInfo(string key, object value);
22 |
23 | IInfoBuilder WithInfo(Dictionary details);
24 |
25 | Dictionary Build();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Info/IInfoContributor.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Info
16 | {
17 | public interface IInfoContributor
18 | {
19 | void Contribute(IInfoBuilder builder);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Info/IInfoOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Info
16 | {
17 | public interface IInfoOptions : IEndpointOptions
18 | {
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Loggers/ILoggersOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Loggers
16 | {
17 | public interface ILoggersOptions : IEndpointOptions
18 | {
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Mappings/IMappingsOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Mappings
16 | {
17 | public interface IMappingsOptions : IEndpointOptions
18 | {
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Mappings/IRouteDetails.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.Mappings
18 | {
19 | public interface IRouteDetails
20 | {
21 | IList HttpMethods { get; }
22 |
23 | string RouteTemplate { get; }
24 |
25 | IList Produces { get; }
26 |
27 | IList Consumes { get; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/MediaTypeVersion.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint
16 | {
17 | public enum MediaTypeVersion
18 | {
19 | V1,
20 | V2
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Metrics/IMetricsOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Metrics
16 | {
17 | public interface IMetricsOptions : IEndpointOptions
18 | {
19 | string IngressIgnorePattern { get; }
20 |
21 | string EgressIgnorePattern { get; }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Metrics/IMetricsResponse.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Metrics
16 | {
17 | public interface IMetricsResponse
18 | {
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Metrics/MetricStatistic.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Runtime.Serialization;
16 |
17 | namespace Steeltoe.Management.Endpoint.Metrics
18 | {
19 | public enum MetricStatistic
20 | {
21 | TOTAL,
22 | [EnumMember(Value = "TOTAL_TIME")]
23 | TOTALTIME,
24 | COUNT,
25 | MAX,
26 | VALUE,
27 | UNKNOWN,
28 | ACTIVETASKS,
29 | DURATION,
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Metrics/MetricsListNamesResponse.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Newtonsoft.Json;
16 | using System.Collections.Generic;
17 |
18 | namespace Steeltoe.Management.Endpoint.Metrics
19 | {
20 | public class MetricsListNamesResponse : IMetricsResponse
21 | {
22 | [JsonProperty("names")]
23 | public ISet Names { get; }
24 |
25 | public MetricsListNamesResponse(ISet names)
26 | {
27 | Names = names;
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Metrics/MetricsRequest.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.Metrics
18 | {
19 | public class MetricsRequest
20 | {
21 | public string MetricName { get; }
22 |
23 | public List> Tags { get; }
24 |
25 | public MetricsRequest(string metricName, List> tags)
26 | {
27 | MetricName = metricName;
28 | Tags = tags;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Refresh/IRefreshOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Refresh
16 | {
17 | public interface IRefreshOptions : IEndpointOptions
18 | {
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Security/EndpointClaim.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Security
16 | {
17 | public class EndpointClaim
18 | {
19 | public string Type { get; set; }
20 |
21 | public string Value { get; set; }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Security/ISecurityContext.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Security
16 | {
17 | public interface ISecurityContext
18 | {
19 | bool HasClaim(EndpointClaim claim);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Security/Permissions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.Security
16 | {
17 | public enum Permissions
18 | {
19 | UNDEFINED,
20 | NONE,
21 | RESTRICTED,
22 | FULL
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/ThreadDump/IThreadDumpOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.ThreadDump
16 | {
17 | public interface IThreadDumpOptions : IEndpointOptions
18 | {
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/ThreadDump/IThreadDumper.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.ThreadDump
18 | {
19 | public interface IThreadDumper
20 | {
21 | List DumpThreads();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/ThreadDump/LockInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Newtonsoft.Json;
16 |
17 | namespace Steeltoe.Management.Endpoint.ThreadDump
18 | {
19 | public class LockInfo
20 | {
21 | [JsonProperty("className")]
22 | public string ClassName { get; set; }
23 |
24 | [JsonProperty("identityHashCode")]
25 | public int IdentityHashCode { get; set; }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/ThreadDump/MetaDataImportProvider.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Microsoft.DiaSymReader;
16 |
17 | namespace Steeltoe.Management.Endpoint.ThreadDump
18 | {
19 | public class MetaDataImportProvider : IMetadataImportProvider
20 | {
21 | private object _import;
22 |
23 | public MetaDataImportProvider(object import)
24 | {
25 | _import = import;
26 | }
27 |
28 | public object GetMetadataImport()
29 | {
30 | return _import;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/ThreadDump/MonitorInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Newtonsoft.Json;
16 |
17 | namespace Steeltoe.Management.Endpoint.ThreadDump
18 | {
19 | public class MonitorInfo : LockInfo
20 | {
21 | [JsonProperty("lockedStackDepth")]
22 | public int LockedStackDepth { get; set; }
23 |
24 | [JsonProperty("lockedStackFrame")]
25 | public StackTraceElement LockedStackFrame { get; set; }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/ThreadDump/TState.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Endpoint.ThreadDump
16 | {
17 | public enum TState
18 | {
19 | NEW,
20 | RUNNABLE,
21 | BLOCKED,
22 | WAITING,
23 | TIMED_WAITING,
24 | TERMINATED
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/ThreadDump/ThreadDumpResult.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Newtonsoft.Json;
16 | using Newtonsoft.Json.Converters;
17 | using System.Collections.Generic;
18 |
19 | namespace Steeltoe.Management.Endpoint.ThreadDump
20 | {
21 | public class ThreadDumpResult
22 | {
23 | [JsonProperty("threads")]
24 | public List Threads { get; set; }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Trace/IHttpTraceRepository.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.Trace
18 | {
19 | public interface IHttpTraceRepository
20 | {
21 | HttpTraceResult GetTraces();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointBase/Trace/ITraceRepository.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.Trace
18 | {
19 | public interface ITraceRepository
20 | {
21 | List GetTraces();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointCore/Mappings/AspNetCoreRouteDetails.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.Mappings
18 | {
19 | public class AspNetCoreRouteDetails : IRouteDetails
20 | {
21 | public IList HttpMethods { get; set; }
22 |
23 | public string RouteTemplate { get; set; }
24 |
25 | public IList Produces { get; set; }
26 |
27 | public IList Consumes { get; set; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointCore/Mappings/IRouteMappings.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Microsoft.AspNetCore.Routing;
16 | using System.Collections.Generic;
17 |
18 | namespace Steeltoe.Management.Endpoint.Mappings
19 | {
20 | public interface IRouteMappings
21 | {
22 | IList Routers { get; }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointCore/Mappings/RouteMappings.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Microsoft.AspNetCore.Routing;
16 | using System.Collections.Generic;
17 |
18 | namespace Steeltoe.Management.Endpoint.Mappings
19 | {
20 | public class RouteMappings : IRouteMappings
21 | {
22 | public RouteMappings()
23 | {
24 | Routers = new List();
25 | }
26 |
27 | public IList Routers { get; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointOwin/Mappings/AspNetRouteDetails.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.Mappings
18 | {
19 | public class AspNetRouteDetails : IRouteDetails
20 | {
21 | public IList HttpMethods { get; set; }
22 |
23 | public string RouteTemplate { get; set; }
24 |
25 | public IList Produces { get; set; }
26 |
27 | public IList Consumes { get; set; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointWeb/AspNetRouteDetails.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Collections.Generic;
16 |
17 | namespace Steeltoe.Management.Endpoint.Mappings
18 | {
19 | public class AspNetRouteDetails : IRouteDetails
20 | {
21 | public IList HttpMethods { get; set; }
22 |
23 | public string RouteTemplate { get; set; }
24 |
25 | public IList Produces { get; set; }
26 |
27 | public IList Consumes { get; set; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointWeb/Handler/IActuatorHandler.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Threading.Tasks;
16 | using System.Web;
17 |
18 | namespace Steeltoe.Management.Endpoint.Handler
19 | {
20 | public interface IActuatorHandler
21 | {
22 | void HandleRequest(HttpContextBase context);
23 |
24 | bool RequestVerbAndPathMatch(string httpMethod, string requestPath);
25 |
26 | Task IsAccessAllowed(HttpContextBase context);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.EndpointWeb/Security/ISecurityService.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System;
16 | using System.Collections.Generic;
17 | using System.Linq;
18 | using System.Text;
19 | using System.Threading.Tasks;
20 | using System.Web;
21 |
22 | namespace Steeltoe.Management.Endpoint.Security
23 | {
24 | public interface ISecurityService
25 | {
26 | Task IsAccessAllowed(HttpContextBase context, IEndpointOptions target);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterBase/Metrics/CloudFoundryForwarder/ICloudFoundryMetricWriter.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using OpenCensus.Stats;
16 | using OpenCensus.Tags;
17 | using System.Collections.Generic;
18 |
19 | namespace Steeltoe.Management.Exporter.Metrics.CloudFoundryForwarder
20 | {
21 | public interface ICloudFoundryMetricWriter
22 | {
23 | IList CreateMetrics(IViewData viewData, IAggregationData aggregation, TagValues tagValues, long timeStamp);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterBase/Metrics/CloudFoundryForwarder/Message.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using Newtonsoft.Json;
16 | using System.Collections.Generic;
17 |
18 | namespace Steeltoe.Management.Exporter.Metrics.CloudFoundryForwarder
19 | {
20 | public class Message
21 | {
22 | public Message(List applications)
23 | {
24 | Applications = applications;
25 | }
26 |
27 | [JsonProperty("applications")]
28 | public IList Applications { get; }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterBase/Metrics/CloudFoundryForwarder/MetricType.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Exporter.Metrics.CloudFoundryForwarder
16 | {
17 | public enum MetricType
18 | {
19 | GAUGE,
20 | COUNTER,
21 | UNKNOWN
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterBase/Metrics/IMetricsExporter.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Exporter.Metrics
16 | {
17 | public interface IMetricsExporter
18 | {
19 | void Start();
20 |
21 | void Stop();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterBase/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Runtime.CompilerServices;
16 |
17 | [assembly: InternalsVisibleTo("Steeltoe.Management.ExporterBase.Test")]
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterBase/Tracing/ITraceExporter.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System;
16 |
17 | namespace Steeltoe.Management.Exporter.Tracing
18 | {
19 | [Obsolete("Use OpenCensus project packages")]
20 | public interface ITraceExporter
21 | {
22 | void Start();
23 |
24 | void Stop();
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterBase/Tracing/Zipkin/ITraceExporterOptions.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | namespace Steeltoe.Management.Exporter.Tracing.Zipkin
16 | {
17 | public interface ITraceExporterOptions
18 | {
19 | string Endpoint { get; }
20 |
21 | bool ValidateCertificates { get; }
22 |
23 | int TimeoutSeconds { get; }
24 |
25 | string ServiceName { get; }
26 |
27 | bool UseShortTraceIds { get; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterBase/Tracing/Zipkin/ZipkinSpanKind.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System;
16 |
17 | namespace Steeltoe.Management.Exporter.Tracing.Zipkin
18 | {
19 | [Obsolete("Use OpenCensus project packages")]
20 | internal enum ZipkinSpanKind
21 | {
22 | CLIENT,
23 | SERVER,
24 | PRODUCER,
25 | CONSUMER
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.ExporterCore/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the original author or authors.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // https://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | using System.Runtime.CompilerServices;
16 |
17 | [assembly: InternalsVisibleTo("Steeltoe.Management.TracingBase.Test")]
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Common/IClock.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Trace;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Common
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface IClock
10 | {
11 | ITimestamp Now { get; }
12 | long NowNanos { get; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Common/IDuration.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Common
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IDuration : IComparable
9 | {
10 | long Seconds { get; }
11 | int Nanos { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Common/IScope.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Common
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IScope : IDisposable
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Common/ITimestamp.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Common
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITimestamp : IComparable
9 | {
10 | long Seconds { get; }
11 | int Nanos { get; }
12 | ITimestamp AddNanos(long nanosToAdd);
13 | ITimestamp AddDuration(IDuration duration);
14 | IDuration SubtractTimestamp(ITimestamp timestamp);
15 |
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Internal/IEventQueue.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Internal
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IEventQueue
9 | {
10 | void Enqueue(IEventQueueEntry entry);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Internal/IEventQueueEntry.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Internal
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IEventQueueEntry
9 | {
10 | void Process();
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Internal/ITimestampConverter.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Common;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Internal
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface ITimestampConverter
10 | {
11 | ITimestamp ConvertNanoTime(long nanoTime);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/ICount.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ICount : IAggregation
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/ICountData.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ICountData : IAggregationData
9 | {
10 | long Count { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/IDistribution.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IDistribution : IAggregation
9 | {
10 |
11 | IBucketBoundaries BucketBoundaries { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/IDistributionData.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IDistributionData : IAggregationData
9 | {
10 | double Mean { get; }
11 | long Count { get; }
12 | double Min { get; }
13 | double Max { get; }
14 | double SumOfSquaredDeviations { get; }
15 | IList BucketCounts { get; }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/ILastValue.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ILastValue : IAggregation
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/ILastValueDataDouble.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ILastValueDataDouble : IAggregationData
9 | {
10 | double LastValue { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/ILastValueDataLong.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ILastValueDataLong : IAggregationData
9 | {
10 | long LastValue { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/IMean.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IMean : IAggregation
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/IMeanData.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IMeanData : IAggregationData
9 | {
10 | double Mean { get; }
11 | long Count { get; }
12 | double Max { get; }
13 | double Min { get; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/ISum.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISum : IAggregation
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/ISumDataDouble.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISumDataDouble : IAggregationData
9 | {
10 | double Sum { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Aggregations/ISumDataLong.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Aggregations
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISumDataLong : IAggregationData
9 | {
10 | long Sum { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IAggregation.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Stats.Aggregations;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Stats
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface IAggregation
10 | {
11 | M Match(
12 | Func p0,
13 | Func p1,
14 | Func p2,
15 | Func p3,
16 | Func p4,
17 | Func p6);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IAggregationData.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Stats.Aggregations;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Stats
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface IAggregationData
10 | {
11 | M Match(
12 | Func p0,
13 | Func p1,
14 | Func p2,
15 | Func p3,
16 | Func p4,
17 | Func p5,
18 | Func p6,
19 | Func defaultFunction);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IBucketBoundries.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IBucketBoundaries
9 | {
10 | IList Boundaries { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IMeasure.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Stats.Measures;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Stats
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface IMeasure
10 | {
11 | M Match(
12 | Func p0,
13 | Func p1,
14 | Func defaultFunction);
15 | string Name { get; }
16 | string Description { get; }
17 | string Unit { get; }
18 |
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IMeasureMap.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Stats.Measures;
2 | using Steeltoe.Management.Census.Tags;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Text;
6 |
7 | namespace Steeltoe.Management.Census.Stats
8 | {
9 | [Obsolete("Use OpenCensus project packages")]
10 | public interface IMeasureMap
11 | {
12 | IMeasureMap Put(IMeasureDouble measure, double value);
13 |
14 |
15 | IMeasureMap Put(IMeasureLong measure, long value);
16 |
17 |
18 | void Record();
19 |
20 |
21 | void Record(ITagContext tags);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IMeasurement.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Stats.Measurements;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Stats
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface IMeasurement
10 | {
11 | M Match(Func p0, Func p1, Func defaultFunction);
12 | IMeasure Measure { get; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IStats.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IStats
9 | {
10 | IStatsRecorder StatsRecorder { get; }
11 | IViewManager ViewManager { get; }
12 | StatsCollectionState State { get; set; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IStatsComponent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IStatsComponent
9 | {
10 | IViewManager ViewManager { get; }
11 | IStatsRecorder StatsRecorder { get; }
12 | StatsCollectionState State { get; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IStatsRecorder.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IStatsRecorder
9 | {
10 | IMeasureMap NewMeasureMap();
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IView.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Tags;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Stats
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface IView
10 | {
11 | IViewName Name { get; }
12 | string Description { get; }
13 | IMeasure Measure { get; }
14 | IAggregation Aggregation { get; }
15 | IList Columns { get; }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IViewData.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Tags;
2 | using Steeltoe.Management.Census.Common;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Text;
6 |
7 | namespace Steeltoe.Management.Census.Stats
8 | {
9 | [Obsolete("Use OpenCensus project packages")]
10 | public interface IViewData
11 | {
12 | IView View { get; }
13 | IDictionary AggregationMap { get; }
14 | ITimestamp Start { get; }
15 | ITimestamp End { get; }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IViewManager.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IViewManager
9 | {
10 | ISet AllExportedViews { get; }
11 | IViewData GetView(IViewName view);
12 | void RegisterView(IView view);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/IViewName.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IViewName
9 | {
10 | string AsString { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Measurements/IMeasurementDouble.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Measurements
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IMeasurementDouble : IMeasurement
9 | {
10 | double Value { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Measurements/IMeasurementLong.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Stats.Measures;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Stats.Measurements
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface IMeasurementLong : IMeasurement
10 | {
11 | long Value { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Measures/IMeasureDouble.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Measures
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IMeasureDouble: IMeasure
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/Measures/IMeasureLong.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats.Measures
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IMeasureLong : IMeasure
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Stats/StatsCollectionState.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Stats
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public enum StatsCollectionState
9 | {
10 | ENABLED,
11 | DISABLED
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/ITag.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Tags
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITag
9 | {
10 | ITagKey Key { get; }
11 | ITagValue Value { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/ITagContext.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Tags
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITagContext : IEnumerable
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/ITagContextBuilder.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Common;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Tags
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface ITagContextBuilder
10 | {
11 | ITagContextBuilder Put(ITagKey key, ITagValue value);
12 | ITagContextBuilder Remove(ITagKey key);
13 | ITagContext Build();
14 | IScope BuildScoped();
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/ITagKey.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Tags
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITagKey
9 | {
10 | string Name { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/ITagValue.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Tags
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITagValue
9 | {
10 | string AsString { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/ITagger.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Common;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Tags
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface ITagger
10 | {
11 | ITagContext Empty { get; }
12 |
13 | ITagContext CurrentTagContext { get; }
14 |
15 | ITagContextBuilder EmptyBuilder { get; }
16 |
17 | ITagContextBuilder ToBuilder(ITagContext tags);
18 |
19 | ITagContextBuilder CurrentBuilder { get; }
20 |
21 | IScope WithTagContext(ITagContext tags);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/ITags.cs:
--------------------------------------------------------------------------------
1 |
2 | using Steeltoe.Management.Census.Tags.Propagation;
3 | using System;
4 |
5 | namespace Steeltoe.Management.Census.Tags
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITags
9 | {
10 | ITagger Tagger { get; }
11 |
12 | ITagPropagationComponent TagPropagationComponent { get; }
13 |
14 | TaggingState State { get; }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/ITagsComponent.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Tags.Propagation;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Tags
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface ITagsComponent
10 | {
11 |
12 | ITagger Tagger { get; }
13 |
14 | ITagPropagationComponent TagPropagationComponent { get; }
15 |
16 | TaggingState State { get; }
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/Propagation/ITagContextBinarySerializer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Tags.Propagation
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITagContextBinarySerializer
9 | {
10 | byte[] ToByteArray(ITagContext tags);
11 | ITagContext FromByteArray(byte[] bytes);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/Propagation/ITagPropagationComponent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Tags.Propagation
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITagPropagationComponent
9 | {
10 | ITagContextBinarySerializer BinarySerializer { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Tags/TaggingState.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Tags
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public enum TaggingState
9 | {
10 | ENABLED,
11 | DISABLED
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Config/ITraceConfig.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Steeltoe.Management.Census.Trace.Config
4 | {
5 | [Obsolete("Use OpenCensus project packages")]
6 | public interface ITraceConfig
7 | {
8 | ITraceParams ActiveTraceParams { get; }
9 | void UpdateActiveTraceParams(ITraceParams traceParams);
10 | }
11 | }
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Config/ITraceParams.cs:
--------------------------------------------------------------------------------
1 |
2 | using System;
3 |
4 | namespace Steeltoe.Management.Census.Trace.Config
5 | {
6 | [Obsolete("Use OpenCensus project packages")]
7 | public interface ITraceParams
8 | {
9 | ISampler Sampler { get; }
10 | int MaxNumberOfAttributes { get; }
11 | int MaxNumberOfAnnotations { get; }
12 | int MaxNumberOfMessageEvents { get; }
13 | int MaxNumberOfLinks { get; }
14 | TraceParamsBuilder ToBuilder();
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/IAttributes.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IAttributes
9 | {
10 | IDictionary AttributeMap { get; }
11 | int DroppedAttributesCount { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/IErrorFilter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IErrorFilter
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/IExportComponent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Steeltoe.Management.Census.Trace.Export
4 | {
5 | [Obsolete("Use OpenCensus project packages")]
6 | public interface IExportComponent
7 | {
8 | ISpanExporter SpanExporter { get; }
9 | IRunningSpanStore RunningSpanStore { get; }
10 | ISampledSpanStore SampledSpanStore { get; }
11 | }
12 | }
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/IHandler.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IHandler
9 | {
10 | void Export(IList spanDataList);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ILatencyFilter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ILatencyFilter
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ILinks.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ILinks
9 | {
10 | IList Links { get; }
11 | int DroppedLinksCount { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/IRunningPerSpanNameSummary.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IRunningPerSpanNameSummary
9 | {
10 | int NumRunningSpans { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/IRunningSpanStore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IRunningSpanStore
9 | {
10 | IRunningSpanStoreSummary Summary { get; }
11 | IList GetRunningSpans(IRunningSpanStoreFilter filter);
12 | void OnStart(ISpan span);
13 | void OnEnd(ISpan span);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/IRunningSpanStoreFilter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IRunningSpanStoreFilter
9 | {
10 | string SpanName { get; }
11 | int MaxSpansToReturn { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/IRunningSpanStoreSummary.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IRunningSpanStoreSummary
9 | {
10 | IDictionary PerSpanNameSummary { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ISampledLatencyBucketBoundaries.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISampledLatencyBucketBoundaries
9 | {
10 | long LatencyLowerNs { get; }
11 | long LatencyUpperNs { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ISampledPerSpanNameSummary.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISampledPerSpanNameSummary
9 | {
10 | IDictionary NumbersOfLatencySampledSpans { get; }
11 | IDictionary NumbersOfErrorSampledSpans { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ISampledSpanStore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISampledSpanStore
9 | {
10 | ISampledSpanStoreSummary Summary { get; }
11 | IList GetLatencySampledSpans(ISampledSpanStoreLatencyFilter filter);
12 | IList GetErrorSampledSpans(ISampledSpanStoreErrorFilter filter);
13 | void RegisterSpanNamesForCollection(IList spanNames);
14 | void UnregisterSpanNamesForCollection(IList spanNames);
15 | ISet RegisteredSpanNamesForCollection { get; }
16 | void ConsiderForSampling(ISpan span);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ISampledSpanStoreErrorFilter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISampledSpanStoreErrorFilter
9 | {
10 | string SpanName { get; }
11 | CanonicalCode? CanonicalCode { get; }
12 | int MaxSpansToReturn { get; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ISampledSpanStoreLatencyFilter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISampledSpanStoreLatencyFilter
9 | {
10 | string SpanName { get; }
11 | long LatencyLowerNs { get; }
12 | long LatencyUpperNs { get; }
13 | int MaxSpansToReturn { get; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ISampledSpanStoreSummary.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISampledSpanStoreSummary
9 | {
10 | IDictionary PerSpanNameSummary { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ISpanData.cs:
--------------------------------------------------------------------------------
1 | using Steeltoe.Management.Census.Common;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Steeltoe.Management.Census.Trace.Export
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface ISpanData
10 | {
11 | ISpanContext Context { get; }
12 | ISpanId ParentSpanId { get; }
13 | bool? HasRemoteParent { get; }
14 | string Name { get; }
15 | ITimestamp StartTimestamp { get; }
16 | IAttributes Attributes { get; }
17 | ITimedEvents Annotations { get; }
18 | ITimedEvents MessageEvents { get; }
19 | ILinks Links { get; }
20 | int? ChildSpanCount { get; }
21 | Status Status { get; }
22 | ITimestamp EndTimestamp { get; }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ISpanExporter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ISpanExporter : IDisposable
9 | {
10 | void AddSpan(ISpan span);
11 | void RegisterHandler(string name, IHandler handler);
12 | void UnregisterHandler(string name);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ITimedEvent.cs:
--------------------------------------------------------------------------------
1 |
2 |
3 | using Steeltoe.Management.Census.Common;
4 | using System;
5 |
6 | namespace Steeltoe.Management.Census.Trace.Export
7 | {
8 | [Obsolete("Use OpenCensus project packages")]
9 | public interface ITimedEvent
10 | {
11 | ITimestamp Timestamp { get; }
12 | T Event { get; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/Export/ITimedEvents.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace.Export
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface ITimedEvents
9 | {
10 | IList> Events { get; }
11 | int DroppedEventsCount { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/IAnnotation.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IAnnotation
9 | {
10 | string Description { get; }
11 | IDictionary Attributes { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Steeltoe.Management.OpenCensus/Api/Trace/IAttributeValue.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Steeltoe.Management.Census.Trace
6 | {
7 | [Obsolete("Use OpenCensus project packages")]
8 | public interface IAttributeValue
9 | {
10 | T Match(
11 | Func stringFunction,
12 | Func booleanFunction,
13 | Func longFunction,
14 | Func