Adding Azure blob support #96
Draft
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.
This pull request adds support for Azure Blob Storage as a backend for storing snapshots in Lightning Stream, updates dependencies, and introduces new Prometheus metrics for improved observability of snapshot operations. It also updates documentation and the development environment to reflect these changes.
Note this depends on the Simpleblob PR to be merged and released with 0.4.0 tag.
Azure Blob Storage Integration
main.goand updating theStoragetype inconfig.goto include"azure". [1] [2]docker-compose.ymlto include an Azurite service for local Azure Blob Storage emulation and example configuration for Azure backend indocker/pdns/lightningstream.yaml. [1] [2]Metrics Enhancements
Configuration and Documentation Updates
README.mdwith detailed instructions for configuring Azure Blob Storage, including static credentials and service principal authentication, as well as an options reference table and example usage with Azurite.Dependency Updates
github.com/PowerDNS/simpleblobto v0.4.0 and several other dependencies to their latest versions ingo.modto support Azure Blob Storage and improve reliability. [1] [2]Logging Improvements