Skip to content

fix links and commands #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2-lts/step3.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The potential duplication of data between Prometheus+sidecar results and store G

Another interesting question here is how to ensure if we query the data from bucket only?

We can check this by visitng the [New UI]({{TRAFFIC_HOST1_9091}}/new/graph?g0.expr=&g0.tab=0&g0.stacked=0&g0.range_input=1h&g0.max_source_resolution=0s&g0.deduplicate=1&g0.partial_response=0&g0.store_matches=[]), inserting `continuous_app_metric0` metrics again with 1 year time range of graph,
We can check this by visitng the [Query UI]({{TRAFFIC_HOST1_9091}}/graph?g0.expr=&g0.tab=0&g0.stacked=0&g0.range_input=1h&g0.max_source_resolution=0s&g0.deduplicate=1&g0.partial_response=0&g0.store_matches=[]), inserting `continuous_app_metric0` metrics again with 1 year time range of graph,
and click on `Enable Store Filtering`.

This allows us to filter stores and helps in debugging from where we are querying the data exactly.
Expand Down
4 changes: 2 additions & 2 deletions 2-lts/step4.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The flag `wait` is used to make sure all compactions have been processed while `
## Setup Verification
To check if compactor works fine, we can look at the [Bucket View]({{TRAFFIC_HOST1_19095}}/new/loaded).
To check if compactor works fine, we can look at the [Bucket View]({{TRAFFIC_HOST1_19095}}/loaded).
Now, if we click on the blocks, they will provide us all the metadata (Series, Samples, Resolution, Chunks, and many more things).
Expand All @@ -50,7 +50,7 @@ and no special configuration is required to perform this process.
The Compactor applies compaction to the bucket data and also completes the downsampling for historical data.
To expierience this, click on the [Querier]({{TRAFFIC_HOST1_9091}}/new/graph?g0.expr=&g0.tab=0&g0.stacked=0&g0.range_input=1h&g0.max_source_resolution=0s&g0.deduplicate=1&g0.partial_response=0&g0.store_matches=[]) and insert metrics `continuous_app_metric0` with 1 year time range of graph, and also, click on `Enable Store Filtering`.
To expierience this, click on the [Querier]({{TRAFFIC_HOST1_9091}}/graph?g0.expr=&g0.tab=0&g0.stacked=0&g0.range_input=1h&g0.max_source_resolution=0s&g0.deduplicate=1&g0.partial_response=0&g0.store_matches=[]) and insert metrics `continuous_app_metric0` with 1 year time range of graph, and also, click on `Enable Store Filtering`.
Let's try querying `Max 5m downsampling` data, it uses 5m resolution and it will be faster than the raw data. Also, Downsampling is built on top of data, and never done on **young** data.
Expand Down
4 changes: 2 additions & 2 deletions 5-query-caching/step1.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ scrape_configs:
for i in $(seq 0 2); do
docker run -d --net=host --rm \
-v $(pwd)/prometheus"${i}".yml:/etc/prometheus/prometheus.yml \
-v $(pwd)/prometheus_data:/prometheus"${i}" \
-v $(pwd)/prometheus_data/prometheus"${i}":/prometheus"${i}" \
-u root \
--name prometheus"${i}" \
quay.io/prometheus/prometheus:v2.38.0 \
--config.file=/etc/prometheus/prometheus.yml \
--storage.tsdb.path=/prometheus \
--storage.tsdb.path=/prometheus"${i}" \
--web.listen-address=:909"${i}" \
--web.external-url={{TRAFFIC_HOST1_909"${i}"}} \
--web.enable-lifecycle \
Expand Down
2 changes: 1 addition & 1 deletion x-playground/step2.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ docker run -d --net=host --rm \
--http-address 0.0.0.0:19095
```{{execute}}

Visit {{TRAFFIC_HOST1_19095}}/new/loaded to see Compactor Web UI.
Visit {{TRAFFIC_HOST1_19095}}/loaded to see Compactor Web UI.

### Data should be immediately downsampled as well for smooth experience!

Expand Down