question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Configure Azure Blob Tier

See original GitHub issue

It would be really useful if we could configure the standard blob tier used when creating the event blobs

Something like a IAzureBlobProviderConfigurator.WithBlobTier(Func<AuditEvent,StandardBlobTier>) method to call within UseAzureBlobStorage()

Our use case is to use the Cool pricing tier rather than the default Hot. We’ve worked around it for now using a storage management policy which changes the tier after some amount of time since uploading, but it would be better to set the Cool tier at the source when we upload

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adnangcommented, Aug 5, 2021

brilliant, thanks!

1reaction
thepirat000commented, Aug 1, 2021

oh, I just realized that actually there is a way to set the standard blob tier on the legacy version

https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.blob.cloudblockblob.setstandardblobtier?view=azure-dotnet-legacy

Anyway, in a future, a split will be needed for this library to use the latest client versions

So I think I can provide the configuration as you requested still using WindowsAzure.Storage, but so far I haven’t seen a way to do it in just one roundtrip. Looks like we have to Upload the blob and then change the tier in two separate calls.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Access tiers for blob data - Azure Storage
Azure storage offers different access tiers so that you can store your blob data ... Setting the access tier is only allowed on...
Read more >
Set a blob's access tier - Azure Storage
Navigate to the storage account in the Azure portal. Under Settings, select Configuration. Locate the Blob access tier (default) setting, ...
Read more >
Set Blob Tier (REST API) - Azure Storage
The Set Blob Tier operation sets the access tier on a blob. The operation is allowed on a page blob in a premium...
Read more >
Efficiently store data with Azure Blob Storage Cold Tier
With blob access tiers, you can store your data in the most cost-effective way, based on how frequently it will be accessed and...
Read more >
How to Switch Between Azure Blob Storage Tiers
1. First we'll start by configuring the Lifecycle management rules for a storage account. Open the storage account from Azure portal, browse to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found