Skip to content
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

jsonnet: add tsdb config in jsonnet #9790

Merged
merged 10 commits into from
Jun 28, 2023

Conversation

manohar-koukuntla
Copy link
Contributor

@manohar-koukuntla manohar-koukuntla commented Jun 26, 2023

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #9789

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • CHANGELOG.md updated
    • If the change is worth mentioning in the release notes, add add-to-release-notes label
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/upgrading/_index.md
  • For Helm chart changes bump the Helm chart version in production/helm/loki/Chart.yaml and update production/helm/loki/CHANGELOG.md and production/helm/loki/README.md. Example PR

@github-actions github-actions bot added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Jun 26, 2023
@manohar-koukuntla manohar-koukuntla marked this pull request as ready for review June 26, 2023 09:53
@manohar-koukuntla manohar-koukuntla requested review from JStickler and a team as code owners June 26, 2023 09:53
@manohar-koukuntla manohar-koukuntla changed the title update storage config in jsonnet add tsdb config in jsonnet Jun 26, 2023
@manohar-koukuntla manohar-koukuntla changed the title add tsdb config in jsonnet jsonnet: add tsdb config in jsonnet Jun 26, 2023
Copy link
Contributor

@chaudum chaudum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! I left some minor comments, but overall looks good to me!

production/ksonnet/loki/shipper.libsonnet Outdated Show resolved Hide resolved
production/ksonnet/loki/shipper.libsonnet Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@chaudum chaudum merged commit 999259a into grafana:main Jun 28, 2023
ashwanthgoli added a commit that referenced this pull request Jul 4, 2023
…r is true (#9852)

**What this PR does / why we need it**:
#9790 introduced a new config
`tsdb_shipper_shared_store`, but it's being referred to even if tsdb
index is not enabled. This fixes it by accessing the value only if
using_tsdb_shipper is set to true

**Which issue(s) this PR fixes**:
Fixes #<issue number>

**Special notes for your reviewer**:

**Checklist**
- [X] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`
- [ ] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](d10549e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jsonnet support configuring tsdb storage
2 participants