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

latest master #1

Merged
merged 271 commits into from
Jul 30, 2019
Merged

latest master #1

merged 271 commits into from
Jul 30, 2019

Conversation

udyvish
Copy link
Owner

@udyvish udyvish commented Jul 30, 2019

No description provided.

gouthamve and others added 30 commits April 26, 2019 17:52
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
* Enable tracing loki in helm chart

Tracing support from #328, need to support config in helm chart

Signed-off-by: Xiang Dai <764524258@qq.com>

* Use camel case for variables

Signed-off-by: Xiang Dai <764524258@qq.com>

* update condition

Signed-off-by: Xiang Dai <764524258@qq.com>
* Update troubleshooting

- remove "no label" title
- add tracing part

Signed-off-by: Xiang Dai <764524258@qq.com>

* Add helm help

Signed-off-by: Xiang Dai <764524258@qq.com>
* Revert "Make sure the default for EnforceMetricName is ✅ (#518)"

This reverts commit 199746a.

* Fix overrides unmarshalling properly

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
* Add target config

Support costomize target config.

Signed-off-by: Xiang Dai <764524258@qq.com>

* Update default value

Signed-off-by: Xiang Dai <764524258@qq.com>

* bump helm version

Signed-off-by: Xiang Dai <764524258@qq.com>
Signed-off-by: Xiang Dai <764524258@qq.com>
Signed-off-by: Xiang Dai <764524258@qq.com>
* support config chunk size

Signed-off-by: Xiang Dai <764524258@qq.com>

* fix lint

Signed-off-by: Xiang Dai <764524258@qq.com>

* review feedback
* Add chunk_block_size option

Introduce by #464.

Signed-off-by: Xiang Dai <764524258@qq.com>

* fix white noise

Signed-off-by: Xiang Dai <764524258@qq.com>

* Bump up helm version

Signed-off-by: Xiang Dai <764524258@qq.com>
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
…ers which wrap the binary with delve and allow for remote debugging
…r as it could be way in the past or future depending on the clock for the source system generating the logs. Given that it's compared to the servers time.Now() when looking for idle chunks it's probably best to use the server time when setting the value. (#546)
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
* switch to golangci-lint linter

* fixes for review comments
* add a custom server for loki with assets embedded

* adds a targets page for promtail to see discovered files and labels

* lint fixes

* fix css table size

* add service discovery logic

* add service discovery template

* add promtail pages documentation

* ignored gen file in linter
* Adds the ability to provide multiple Loki URL

For backward compatibility `client:` still works with flag.

* add some tests for multi client

* update ksonnet module to support multiple client

* fix comment

* fix lint issues
* fix backward compatibility with client config

* fix comment
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
…eant the `pkg/promtail/server/ui/assets_vfsdata.go: assets` target is never activated causing a build error, updating to make the target hit on `server.go` which has a dependency on the deleted `assets_vfsdata.go` triggering a run of `make assets` before go builds that file (#555)
Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
slim-bean and others added 29 commits July 18, 2019 16:01
* refactor(querier/ingester): TailRequest Lookback window

Moves the specifications of the Lookback Window out of the
logproto.QueryRequest into it's own type logproto.Lookback.
This is required, because the Lookback Window will be used in the TailRequest
as well.

* feat(querier): parse Lookback from HTTP Request

* feat(logcli): send Lookback Window spec with tail request

* feat(querier): include historic entries in tail mode

Extends tailing by sending a configurable amount of historic entries with
before the live entries. This enables a behaviour that is closer to kubectl logs
-f and docker logs -f.

It is implemented by running a regular Query before subscribing to the ingesters.

* fix: adapt tests to Lookback change

* feat(querier): check all errors to make the linter happy

* fix(logproto): flatten Lookback window spec

Flattens the Lookback window spec into the individual queries

* fix(ingester): adapt test to Lookback flatten
* Use prometheus pool for line buffer.
- document centos dep
- add `-y` option

Signed-off-by: Xiang Dai <764524258@qq.com>
Signed-off-by: Xiang Dai <764524258@qq.com>
This commit introduces chunk transfers, borrowing the mechanism from
Cortex's implementation: when an ingester is shut down with claim
on rollout enabled, the ingester will find a pending ingester and
transfer all of its chunks to it.
…show you the name of the pipeline stage which just processed the log

remove some unnecessary logging around fsnotify events we don't care about and saving positions
Make the Processing Log Lines doc a first class citizen, I reference this a lot and currently it's hidden behind 3 clicks
ingester: support chunk transfers on ingester shutdown.
PR #791 accidentally removed the ability to use the promtail UI
by removing methods from the Target interface that were only
used within the HTML templates.

Along with restoring the methods in the Target interface, this
commit also introduces details for the JournalTarget, which
currently only provides the position in the journal being
tracked.
Registering the Ingester service to gRPC enables the chunk transfer
mechanism to work.
refactor(makefile): simplify makefile by removing the autogenerated targets and make building binaries and dockerfiles separate operations.
… to make called with BUILD_IN_CONTAINER=false from circleci
* fix tail library logs to use our own log format

* PR Feedbacks
@udyvish udyvish merged commit cea462f into udyvish:master Jul 30, 2019
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.