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

[release/8.0] Rename Metering to Metrics #4361

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 6, 2023

Backport of #4355 to release/8.0

/cc @geeknoid

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Microsoft Reviewers: Open in CodeFlow

@geeknoid geeknoid merged commit 9ad2b7e into release/8.0 Sep 6, 2023
6 checks passed
@geeknoid geeknoid deleted the backport/pr-4355-to-release/8.0 branch September 6, 2023 18:56
geeknoid pushed a commit that referenced this pull request Sep 6, 2023
* Update dependencies from https://github.com/dotnet/aspnetcore build 20230901.19 (#4347)

Microsoft.AspNetCore.App.Runtime.win-x64 , Microsoft.AspNetCore.Mvc.Testing , Microsoft.AspNetCore.TestHost , Microsoft.Extensions.Caching.StackExchangeRedis , Microsoft.Extensions.Diagnostics.HealthChecks , Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions , Microsoft.Extensions.Features , Microsoft.Extensions.Http.Polly , Microsoft.Extensions.ObjectPool
 From Version 8.0.0-rc.2.23431.20 -> To Version 8.0.0-rc.2.23451.19

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/arcade build 20230901.1 (#4351)

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk
 From Version 8.0.0-beta.23425.2 -> To Version 8.0.0-beta.23451.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20230903.2 (#4349)

Microsoft.AspNetCore.App.Runtime.win-x64 , Microsoft.AspNetCore.Mvc.Testing , Microsoft.AspNetCore.TestHost , Microsoft.Extensions.Caching.StackExchangeRedis , Microsoft.Extensions.Diagnostics.HealthChecks , Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions , Microsoft.Extensions.Features , Microsoft.Extensions.Http.Polly , Microsoft.Extensions.ObjectPool
 From Version 8.0.0-rc.2.23451.19 -> To Version 8.0.0-rc.2.23453.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix "DuplicateRequestName" error message missing requestName argument (#4358)

Co-authored-by: Diogo Barbosa <diogobarbosa@microsoft.com>

* Major update to the logging generator. (#4360)

- Now has full support for modern data classifications, including combined
data classifications (where two annotations apply to the same piece of state).

- Fix some bugs around putting spurious @ in logging property names in certain
cases.

- Improved many error paths by eliminating cascading errors. You now tend
to just get one clean error.

- Simplify [LogProperties] and create the [TagProvider] attribute.
Both features are orthogonal, they should never have been provided by a single
attribute.

- Dynamically adjust the name of the generated static variables in order to
avoid conflicts with user-created symbols.

- Harmonize transitive behavior. When you apply [LogProperties] on a
parameter, it results in a one level deep iteration of the parameter's
properties. If you want to go deeper, you need to apply [LogProperties]
on each property you want to go deeper on. At any point, you can AtSymbolsTestExtensions
apply [TagProvider] to invoke user-controlled code instead of using the
automatic way.

- Rename LogPropertiesAttribute.OmitParameterName to OmitReferenceName
since the attribute can now be used on properties as well as parameters.

- Fully support the LoggerMessageAttribute constructors. Prior logic
was still based on the similar-but-different LogMethodAttribute and
was therefore missing a few corner cases.

Co-authored-by: Martin Taillefer <mataille@microsoft.com>

* Rename Metering to Metrics (#4361)

Co-authored-by: Martin Taillefer <mataille@microsoft.com>

---------

Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diogo Barbosa <diogobarbosa@microsoft.com>
Co-authored-by: Martin Taillefer <mataille@microsoft.com>
@ghost ghost locked as resolved and limited conversation to collaborators Oct 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant