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

set __path__ correctly in promtail config #245

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

woodsaj
Copy link
Member

@woodsaj woodsaj commented Jan 29, 2019

__path__ is now expected to be a glob match, not a directory. In k8s the "glob" expression needed is just the exact file path of the container log, which is `/var/log/pods//<container_name>/0.log

__path__ is now expected to be a `glob` match, not a directory.  In k8s the "glob" expression needed is just the exact file path of the container log, which is `/var/log/pods/<podUID>/<container_name>/0.log`
@woodsaj woodsaj requested a review from slim-bean January 29, 2019 06:50
@tomwilkie tomwilkie merged commit 5c00678 into master Jan 29, 2019
@tomwilkie tomwilkie deleted the 2019-01-29-promtail-path-fix branch January 29, 2019 09:03
MichelHollands pushed a commit that referenced this pull request Jan 16, 2023
**What this PR does / why we need it**:

The Changelog diff between the two commits is
grafana/dskit@3e308a4...7242706

```
* [CHANGE] Cache: Switch Memcached backend to use `github.com/grafana/gomemcache` repository instead of `github.com/bradfitz/gomemcache`. #248
* [ENHANCEMENT] Add cache, gate and stringsutil packages. #239
* [ENHANCEMENT] Cache: add Redis support. #245
* [ENHANCEMENT] Cache: Add the ability to use a custom memory allocator for cache results. #249
* [BUGFIX] Memberlist: fix crash when methods from `memberlist.Delegate` interface are called on `*memberlist.KV` before the service is fully started. #244
```

**Checklist**
- [x] Reviewed the [`CONTRIBUTING.md`](../CONTRIBUTING.md) guide
(**required**)
- N/A Documentation added
- N/A Tests updated
- N/A `CHANGELOG.md` updated
- N/A Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`
jeschkies pushed a commit to jeschkies/loki that referenced this pull request Jan 18, 2023
**What this PR does / why we need it**:

The Changelog diff between the two commits is
grafana/dskit@3e308a4...7242706

```
* [CHANGE] Cache: Switch Memcached backend to use `github.com/grafana/gomemcache` repository instead of `github.com/bradfitz/gomemcache`. grafana#248
* [ENHANCEMENT] Add cache, gate and stringsutil packages. grafana#239
* [ENHANCEMENT] Cache: add Redis support. grafana#245
* [ENHANCEMENT] Cache: Add the ability to use a custom memory allocator for cache results. grafana#249
* [BUGFIX] Memberlist: fix crash when methods from `memberlist.Delegate` interface are called on `*memberlist.KV` before the service is fully started. grafana#244
```

**Checklist**
- [x] Reviewed the [`CONTRIBUTING.md`](../CONTRIBUTING.md) guide
(**required**)
- N/A Documentation added
- N/A Tests updated
- N/A `CHANGELOG.md` updated
- N/A Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants