-
Notifications
You must be signed in to change notification settings - Fork 882
[Prometheus] Split up projects based on hosting mechanism. #3375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Yun-Ting
wants to merge
31
commits into
open-telemetry:main
from
Yun-Ting:yunl/RefactorPrometheusExporter
Closed
Changes from 15 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c65ed4f
draft
Yun-Ting 0470d1e
tests, api, dispose
Yun-Ting a56059f
update
Yun-Ting 42af16c
Merge branch 'yunl/RefactorPrometheusExporter' of https://github.com/…
Yun-Ting 7e9d50e
docs
Yun-Ting 2afca92
markdown lint
Yun-Ting 5c8786e
more tests fixing
Yun-Ting e3ffd30
docs and tests
Yun-Ting 2349e71
fix CI
Yun-Ting a13b595
CI
Yun-Ting f3072ee
update
Yun-Ting a9eeaf6
readme
Yun-Ting b1e26e6
lint
Yun-Ting dec7d9d
Merge branch 'main' into yunl/RefactorPrometheusExporter
cijothomas 7ffa076
Merge branch 'main' into yunl/RefactorPrometheusExporter
cijothomas 63ba0a6
removed implementation folder
Yun-Ting b1a9ca5
change project reference to link
Yun-Ting a70d8fa
prometheus shared project tests
Yun-Ting fba6ab2
added OpenTelemetry.Exporter.Prometheus.HttpListener.Tests proj
Yun-Ting 7c9fccd
added AspNetCore Tests
Yun-Ting bd7b885
renamed OpenTelemetry.Exporter.Prometheus to OpenTelemetry.Exporter.P…
Yun-Ting dc821e9
renamed test file
Yun-Ting 7cfff77
project files
Yun-Ting 291212a
delete Readme
Yun-Ting e182f8c
proj files and apis
Yun-Ting a038af0
proj
Yun-Ting dc96358
listener api change and addressed some comments
Yun-Ting 0ed24d7
merge from main
Yun-Ting 58c998b
cleaned up proj file
Yun-Ting 304f27b
readme
Yun-Ting be87d44
docs
Yun-Ting File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docs/metrics/getting-started-prometheus-grafana/getting-started-prometheus-grafana.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
| <ItemGroup> | ||
| <ProjectReference Include="$(RepoRoot)\src\OpenTelemetry.Exporter.Prometheus\OpenTelemetry.Exporter.Prometheus.csproj" /> | ||
| <ProjectReference Include="$(RepoRoot)\src\OpenTelemetry.Exporter.Prometheus.HttpListener\OpenTelemetry.Exporter.Prometheus.HttpListener.csproj" /> | ||
| </ItemGroup> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions
9
...Telemetry.Exporter.Prometheus.AspNetCore/.publicApi/netcoreapp3.1/PublicAPI.Unshipped.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| Microsoft.AspNetCore.Builder.PrometheusExporterApplicationBuilderExtensions | ||
| Microsoft.AspNetCore.Builder.PrometheusExporterEndpointRouteBuilderExtensions | ||
| static Microsoft.AspNetCore.Builder.PrometheusExporterApplicationBuilderExtensions.UseOpenTelemetryPrometheusScrapingEndpoint(this Microsoft.AspNetCore.Builder.IApplicationBuilder app) -> Microsoft.AspNetCore.Builder.IApplicationBuilder | ||
| static Microsoft.AspNetCore.Builder.PrometheusExporterApplicationBuilderExtensions.UseOpenTelemetryPrometheusScrapingEndpoint(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, OpenTelemetry.Metrics.MeterProvider meterProvider, System.Func<Microsoft.AspNetCore.Http.HttpContext, bool> predicate, string path, System.Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureBranchedPipeline) -> Microsoft.AspNetCore.Builder.IApplicationBuilder | ||
| static Microsoft.AspNetCore.Builder.PrometheusExporterApplicationBuilderExtensions.UseOpenTelemetryPrometheusScrapingEndpoint(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string path) -> Microsoft.AspNetCore.Builder.IApplicationBuilder | ||
| static Microsoft.AspNetCore.Builder.PrometheusExporterApplicationBuilderExtensions.UseOpenTelemetryPrometheusScrapingEndpoint(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, System.Func<Microsoft.AspNetCore.Http.HttpContext, bool> predicate) -> Microsoft.AspNetCore.Builder.IApplicationBuilder | ||
| static Microsoft.AspNetCore.Builder.PrometheusExporterEndpointRouteBuilderExtensions.MapPrometheusScrapingEndpoint(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder | ||
| static Microsoft.AspNetCore.Builder.PrometheusExporterEndpointRouteBuilderExtensions.MapPrometheusScrapingEndpoint(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string path = null, OpenTelemetry.Metrics.MeterProvider meterProvider = null, System.Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureBranchedPipeline = null) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder | ||
| static Microsoft.AspNetCore.Builder.PrometheusExporterEndpointRouteBuilderExtensions.MapPrometheusScrapingEndpoint(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string path) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder |
31 changes: 31 additions & 0 deletions
31
...emetry.Exporter.Prometheus.AspNetCore/OpenTelemetry.Exporter.Prometheus.AspNetCore.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. --> | ||
| <TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks> | ||
Yun-Ting marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <Description>Prometheus exporter for OpenTelemetry .NET</Description> | ||
| <PackageTags>$(PackageTags);prometheus;metrics</PackageTags> | ||
| <MinVerTagPrefix>core-</MinVerTagPrefix> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup> | ||
| <NoWarn>$(NoWarn),1591</NoWarn> | ||
| </PropertyGroup> | ||
|
|
||
| <!--Do not run ApiCompat as this package has never released a stable version. | ||
| Remove this property once we have released a stable version.--> | ||
| <PropertyGroup> | ||
| <RunApiCompat>false</RunApiCompat> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="$(RepoRoot)\src\OpenTelemetry\OpenTelemetry.csproj" /> | ||
| <ProjectReference Include="$(RepoRoot)\src\OpenTelemetry.Exporter.Prometheus\OpenTelemetry.Exporter.Prometheus.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> | ||
| <FrameworkReference Include="Microsoft.AspNetCore.App" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
9 changes: 9 additions & 0 deletions
9
src/OpenTelemetry.Exporter.Prometheus.HttpListener/.publicApi/net462/PublicAPI.Unshipped.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener.Dispose() -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener.PrometheusHttpListener(OpenTelemetry.Metrics.MeterProvider meterProvider, System.Action<OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions> configure = null) -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener.Start(System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener.Stop() -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions.HttpListenerPrefixes.get -> System.Collections.Generic.IReadOnlyCollection<string> | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions.HttpListenerPrefixes.set -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions.PrometheusHttpListenerOptions() -> void |
Empty file.
9 changes: 9 additions & 0 deletions
9
...lemetry.Exporter.Prometheus.HttpListener/.publicApi/netcoreapp3.1/PublicAPI.Unshipped.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener.Dispose() -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener.PrometheusHttpListener(OpenTelemetry.Metrics.MeterProvider meterProvider, System.Action<OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions> configure = null) -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener.Start(System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListener.Stop() -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions.HttpListenerPrefixes.get -> System.Collections.Generic.IReadOnlyCollection<string> | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions.HttpListenerPrefixes.set -> void | ||
| OpenTelemetry.Exporter.Prometheus.HttpListener.PrometheusHttpListenerOptions.PrometheusHttpListenerOptions() -> void |
30 changes: 30 additions & 0 deletions
30
...ry.Exporter.Prometheus.HttpListener/OpenTelemetry.Exporter.Prometheus.HttpListener.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. --> | ||
| <TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks> | ||
Yun-Ting marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <Description>Prometheus exporter for OpenTelemetry .NET</Description> | ||
| <PackageTags>$(PackageTags);prometheus;metrics</PackageTags> | ||
| <MinVerTagPrefix>core-</MinVerTagPrefix> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup> | ||
| <NoWarn>$(NoWarn),1591</NoWarn> | ||
| </PropertyGroup> | ||
|
|
||
| <!--Do not run ApiCompat as this package has never released a stable version. | ||
| Remove this property once we have released a stable version.--> | ||
| <PropertyGroup> | ||
| <RunApiCompat>false</RunApiCompat> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="$(RepoRoot)\src\OpenTelemetry\OpenTelemetry.csproj" /> | ||
| <ProjectReference Include="$(RepoRoot)\src\OpenTelemetry.Exporter.Prometheus\OpenTelemetry.Exporter.Prometheus.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> | ||
| <FrameworkReference Include="Microsoft.AspNetCore.App" /> | ||
Yun-Ting marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.