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
field embedded_cache not found in type cache.Config #6915
Comments
just did the same thing and got stuck there... Please explain what changed so that the "getting started" makes the start with loki so discouraging ;) |
@Unostot I'm sure it can be sorted out. I haven't found time to solve it myself though. 😅 |
Thanks for reporting this issue :) The problem is with the doc, it basically make you to run stable released version of Loki binary (in this case The config Feel free to create PR for the doc fix (or I will fix it tmrw) |
@mostafa try using this - it works for me on v2.6.0 auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9096
common:
path_prefix: /tmp/loki
storage:
filesystem:
chunks_directory: /tmp/loki/chunks
rules_directory: /tmp/loki/rules
replication_factor: 1
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
ruler:
alertmanager_url: http://localhost:9093 |
This issue is still present in the docs |
I'll fix this. |
**What this PR does / why we need it**: The config file URL mentioned in the docs contain config options that doesn't match the latest version of Loki, which, as of now, is v2.6.1. **Which issue(s) this PR fixes**: Fixes #6915 **Special notes for your reviewer**: Disclaimer: I am a Grafanista from k6. **Checklist** - [x] Reviewed the `CONTRIBUTING.md` guide - [ ] Documentation added - [ ] Tests updated - [x] `CHANGELOG.md` updated - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/upgrading/_index.md`
Still (or again?) broken. Same error following the same directions. |
@billq |
Alright, time to wait for merge, just ran into the same problem |
@Corfucinas You can safely use the correct URL as I noted in the PR #7346:
|
Hey there @mostafa Is there's a way to add query_range:
results_cache:
cache:
embedded_cache:
enabled: true
distributed: false
max_size_mb: 100 |
@Corfucinas I suppose not, because the tag is already on a specific commit, and I don't think we can do anything about it until the next release. |
Hey @mostafa Sorry, I think my comment was not sufficiently clear. I meant "Is there a way to add"... If the latter, I can just comment it out and enable it in the future, thanks! |
@Corfucinas A Loki developer like @owen-d would be a better person to answer this. |
…7346) **What this PR does / why we need it**: The config file URL mentioned in the docs contain config options that doesn't match the latest version of Loki, which, as of now, is v2.6.1. **Which issue(s) this PR fixes**: Fixes grafana#6915 **Special notes for your reviewer**: Disclaimer: I am a Grafanista from k6. **Checklist** - [x] Reviewed the `CONTRIBUTING.md` guide - [ ] Documentation added - [ ] Tests updated - [x] `CHANGELOG.md` updated - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/upgrading/_index.md`
…7346) **What this PR does / why we need it**: The config file URL mentioned in the docs contain config options that doesn't match the latest version of Loki, which, as of now, is v2.6.1. **Which issue(s) this PR fixes**: Fixes grafana#6915 **Special notes for your reviewer**: Disclaimer: I am a Grafanista from k6. **Checklist** - [x] Reviewed the `CONTRIBUTING.md` guide - [ ] Documentation added - [ ] Tests updated - [x] `CHANGELOG.md` updated - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/upgrading/_index.md`
…7346) **What this PR does / why we need it**: The config file URL mentioned in the docs contain config options that doesn't match the latest version of Loki, which, as of now, is v2.6.1. **Which issue(s) this PR fixes**: Fixes grafana#6915 **Special notes for your reviewer**: Disclaimer: I am a Grafanista from k6. **Checklist** - [x] Reviewed the `CONTRIBUTING.md` guide - [ ] Documentation added - [ ] Tests updated - [x] `CHANGELOG.md` updated - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/upgrading/_index.md`
same issue, can't figure it out (v2.7.1):
config:
|
ok, I spent hours to find out there was a typo in the doc, it should be underscore not hyphen.... |
Thanks for this |
This issue is still there. I spent some time figuring this out. |
Can the changes be backported to the docs in v2.6.x? |
Describe the bug
After trying the instructions on installing and running Loki locally on a Linux instance, I got this error:
Commenting out the
embedded_cache
helps it run normally.To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should run normally, I suppose.
Environment:
Screenshots, Promtail config, or terminal output
If applicable, add any output to help explain your problem.
The text was updated successfully, but these errors were encountered: