Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics 3 versions #842

Merged
merged 16 commits into from
Apr 28, 2022
Merged

Metrics 3 versions #842

merged 16 commits into from
Apr 28, 2022

Conversation

hananiel
Copy link
Contributor

@hananiel hananiel commented Apr 14, 2022

Update to GA of OpenTelemetry Core packages & latest RC of non core
Add support for Proxy (without needing telegraf) and compatible with boot experience
Add support for wavefront with AddSteeltoe autoconfiguration

@hananiel hananiel added the Component/Management Issues related to Steeltoe Management (actuators) label Apr 14, 2022
@hananiel hananiel added this to the 3.2.0 milestone Apr 14, 2022
@hananiel hananiel self-assigned this Apr 14, 2022
@TimHess
Copy link
Member

TimHess commented Apr 18, 2022

It looks like there is now a GA release of the core components

@hananiel hananiel marked this pull request as draft April 21, 2022 03:17
@@ -253,6 +254,23 @@ public void AllActuators_AreAutowired()
Assert.IsType<AllActuatorsStartupFilter>(filter);
}

[Fact]
public void Wavefront_IsAutowired()
Copy link
Member

Choose a reason for hiding this comment

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

Should this be two separate tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wonder if anyone would want to enable metrics but not traces or vice versa, at the moment thats not an option. Thats mostly why its the same test.

Copy link
Member

Choose a reason for hiding this comment

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

What would happen if you have a ref for EndpointCore (and Wavefront config) but not TracingCore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It works as expected, adding two separate tests.

/// </summary>
/// <param name="hostBuilder">Your hostBuilder</param>
/// <returns>The configured hostBuilder</returns>
public static IHostBuilder AddDistributedTracing(this IHostBuilder hostBuilder)
Copy link
Member

Choose a reason for hiding this comment

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

Action<TracerProviderBuilder> action could be exposed here too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@hananiel hananiel marked this pull request as ready for review April 27, 2022 01:42
@hananiel hananiel requested a review from TimHess April 27, 2022 14:21
@TimHess
Copy link
Member

TimHess commented Apr 27, 2022

/azp run Steeltoe.All

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@TimHess TimHess left a comment

Choose a reason for hiding this comment

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

LGTM

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sonarcloud
Copy link

sonarcloud bot commented Apr 28, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

74.7% 74.7% Coverage
6.8% 6.8% Duplication

@hananiel hananiel merged commit 0425d3e into main Apr 28, 2022
@bart-vmware bart-vmware deleted the Metrics_3_versions branch May 25, 2022 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component/Management Issues related to Steeltoe Management (actuators)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants