feat: add DynamoDB Distributed Lock Observability package#30
Merged
ncipollina merged 1 commit intomainfrom Aug 28, 2025
Merged
Conversation
- Add DynamoDb.DistributedLock.Observability project with OpenTelemetry integration - Implement MeterProviderBuilder extension methods for easy metrics configuration - Update README with comprehensive observability documentation - Add observability package to solution and build configuration - Update CLAUDE.md with new architecture components 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive observability support for the DynamoDB Distributed Lock library through a new dedicated package and updated documentation. It enables simplified OpenTelemetry metrics integration while also updating package dependencies to their latest versions.
- Introduces a new
DynamoDb.DistributedLock.Observabilitypackage with OpenTelemetry integration - Adds
MeterProviderBuilder.AddDynamoDbDistributedLock()extension method for simplified metrics configuration - Updates package dependencies across the solution and enhances documentation with observability examples
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/DynamoDb.DistributedLock.Observability/DynamoDb.DistributedLock.Observability.csproj | New project file for the observability package targeting .NET 8.0 and 9.0 |
| src/DynamoDb.DistributedLock.Observability/MeterProviderBuilderExtensions.cs | Extension method implementation for simplified OpenTelemetry metrics registration |
| DynamoDb.DistributedLock.sln | Solution file updated to include the new observability project |
| Directory.Build.props | Centralized NuGet packaging properties and version bump to 1.2.1 |
| src/DynamoDb.DistributedLock/DynamoDb.DistributedLock.csproj | Package dependency updates and moved common properties to Directory.Build.props |
| test/DynamoDb.DistributedLock.Tests/DynamoDb.DistributedLock.Tests.csproj | Updated test dependencies to latest versions |
| README.md | Enhanced documentation with observability package usage examples and restructured telemetry section |
| CLAUDE.md | Updated architecture documentation to reflect new observability components |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
DynamoDb.DistributedLock.Observabilitypackage with OpenTelemetry integrationMeterProviderBuilder.AddDynamoDbDistributedLock()extension method for simplified metrics configurationChanges Made
Usage
Test plan
🤖 Generated with Claude Code