I was working on a docker-compose file using Prometheus to remote write data to a Thanos receiver. This data would then be queried by Thanos Querier as well as uploaded to minIO. When configuring the minIO portion, I ran into an issue where I could not tell whether or not I had correctly configured the minIO and Thanos receive. Is it possible to increase the rate at which Thanos uploads data to make it easier to test if this step in the process is working?
Testing thanos object storage upload without waiting 2 hours
902 Views Asked by Chris Howe At
1
There are 1 best solutions below
Related Questions in AMAZON-S3
- Mocking AmazonS3 listObjects function in scala
- S3 integration testing
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Golang lambda upload image into s3 static website
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
- AWS Lambda Trigger For Same S3 File Name In Quick Succession
- Is there a way to upload a file in digital ocean object storage using php curl
- How to setup AWS credentials for next.js apps?
- S3 pre-signed url not working on whatsapp cloud Api
- How to set custom Origin Name in AWS CDK for CloudFront
- Property 'location' does not exist on type 'File'
- Resource handler returned message: "Unable to validate the following destination configurations
- Webmin CentOS7 AWS backup errors - perl(S3::AWSAuthConnection) can't be installed
- How to access variable to pass through url_for() as src in Flask App
- I cant figure out how to pull scripts from s3 to my aws workspace
Related Questions in PROMETHEUS
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- Concept of _sum in prometheus histogram
- Telegraf input.exec not working with json
- Concept of process_cpu_seconds_total in prometheus
- Micrometer - Custom Gauge Metric Not Working
- wrong timestamp in promql
- Data visualization on Grafana dashboard
- Micrometer & Prometheus with Java subprocesses that can't expose HTTP
- How can I collect metrics from a Node.js application running in a Kubernetes cluster to monitor HTTP requests with status codes 5xx or 4xx?
- How do you filter a Prometheus metric based on the existence of a label in another metric?
- calculating availability of node using SysUpTime.0 variable collcted in prometheus and exposing to grafana
- Thanos Querier not showing metrics sent to hub Prometheus via remote write
- How to have multiple rules file on Loki (Kubernetes)?
- Monitoring Thread pool metrics through promethues
Related Questions in OBJECT-STORAGE
- Contabo Object Storage (S3) with Strapi CMS
- How to mount an S3 compatible object storage to use it with jupyter notebook
- Static Website Hosting on Object Storage in Open Telekom Cloud
- Create external table using Parquet files (partitioned) in Oracle ADW
- Object storage bucket umount takes too long
- AWSCLI command to get object - object id/x-amz-id-2 AND List/Search object having given object id / x-amz-id-2
- How is data stored in object storage?
- Copy S3 bucket to E2E Object Storage using MinIO Client
- Connection to ovh cloud in node.js
- How can I cache images (express, node, object storage)?
- Use my login system to control access to Digital Ocean Spaces objects
- Copy list of objects across buckets while keeping object prefixes intact
- Multipart upload performance issues to Digital Ocean Spaces from browsers on Windows
- multiple destination for statsd in object-server.conf of swift open stack
- Upload object in oss on chunks with minio
Related Questions in THANOS
- Thanos Querier not showing metrics sent to hub Prometheus via remote write
- accessing data from aws s3 in thanos, prometheus and minio stack
- How to disable thanos sidecar in kube-prometheus-stack?
- How to test thanos performance?
- Thanos for Prometheus long-term storaging doesn't store anything inside s3 bucket
- How to configure thanos-sidecar of prometheus -k8s through cluster-monitoring-operator in openshift-monitoring namespace of OKD 4.14
- Error while runningQueryInThanos -"duplicate series for the match group,many-to-many matching not allowed:matching labels must be unique on one side"
- thanos query how to connect a TLS endpoint and a noTLS endpoint at the same time
- Thanos query and Thanos sidecar(on Prometheos pod) secure communication
- How does Thanos pull metrics from PushGateway?
- Deploying Thanos on EKS Monitoring Without Helm
- Can someone explain me why I see the extra points in Prometheus when I create tsdb programatically?
- Is it possible manually compact prometheus wal block?
- How do I add s3 bucket object with Thanos and prometheus
- thanos-store pod in AWS EKS keeps crashing with S3 "Access Denied" log
Related Questions in CLOUD-OBJECT-STORAGE
- Is there a way to upload a file in digital ocean object storage using php curl
- COS/S3 python log handler causes deadlock
- How to connect an OCI function to OCI NoSQL with Go
- Issue Displaying Image Stream from Object Storage - OCI
- ibm cloud object storage Error: connect (ETIMEDOUT 10.1.129.66:443)
- Configuring CORS using CLI in IBM Cloud Object Storage Bucket
- unable to login in ibm cloud from cli
- How do I restore a whole bucket of archived objects in Oracle cloud?
- Read object from bucket using cognos
- Upload file from ODI 12c linux server local directory to Oracle Object Storage folder
- Accessing object storage bucket with a pre-authenticated request using oci java sdk
- Unable to access StorageGrid from S3 Browser
- Testing thanos object storage upload without waiting 2 hours
- What is privatekey in oracle objectstorage?
- IBM cloud Public access
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Thankfully after a few hours of plugging away at this problem and researching it, I found a solution and wanted to share it so hopefully, this could be a little easier for the next person to find.
This also works for any other object storage system compatible with Thanos receive
The solution that ended up working for me was to set the
tsdb.min-block-duration=15sandtsdb.max-block-duration=15s. They have to be the same in order to not get any compaction in the receiver.This makes it so Thanos uploads a block every 15 seconds so you can get immediate feedback if the project is working as expected. Obviously, this is not beneficial for production use but it will (hopefully) make your development process a little faster. You could also use this in a
docker runcommand if you wish.Here is what my Thanos receive service looks like