Replies: 5 comments
-
The primary drivers of S3 bucket GETs are:
Querying
Another option to reduce querier GETs is to increase the read buffer sizes. Defaults listed:
Compaction Polling The polling interval also defaults to 5m. You can likely safely increase this to 15m or more, but it's a bit more tricky b/c it interacts with a few other components. For simplicity I would keep all components polling at the same interval. Then you'll also have to be thoughtful https://grafana.com/docs/tempo/latest/configuration/polling/ Finally, I'd recommend watching the metric Let me know how it goes! |
Beta Was this translation helpful? Give feedback.
-
Hey Joe, Thanks a lot for your in depth reply. It seems like being able to fine tune compaction more would be useful! I created a dashboard to watch |
Beta Was this translation helpful? Give feedback.
-
This will work, but will cause conflicts with Tempo. We'd advise setting retention using Tempo here:
We actually use both with our lifecycle policy set several days after our Tempo retention. |
Beta Was this translation helpful? Give feedback.
-
Hi @joe-elliott , Thanks again for your help!
I'm left wondering if the major drop in costs wasn't simply due to deleting a lot of data, and I still feel like this cost could be further dropped by fine tuning compaction more. I think it costs me more to run the steady compaction cycles than I gain from it. Full config file, incase somebody finds this from google:
|
Beta Was this translation helpful? Give feedback.
-
Nice! I will point out that your Other than that, looks good! |
Beta Was this translation helpful? Give feedback.
-
I'm using loki/tempo/mimir with s3 storage.
Checked my AWS billing, I've got 9 million S3 puts, which is expected, since I'm tracing like 20 services. This costs 40 dollars a month
But then I found 1.3 BILLION s3 read events (600 dollars a month). After some digging I confirmed the read events are originating from the tempo storage s3 bucket.
This has to be a misconfiguration of some sort, because the discrepancy between puts and reads doesn't make sense.
Any ideas?
This is my config file:
Beta Was this translation helpful? Give feedback.
All reactions