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

backmerging #1

Merged
merged 18 commits into from Mar 5, 2019
Merged

backmerging #1

merged 18 commits into from Mar 5, 2019

Commits on Feb 18, 2019

  1. Bump github.com/pkg/errors from 0.8.0 to 0.8.1 (#793)

    Bumps [github.com/pkg/errors](https://github.com/pkg/errors) from 0.8.0 to 0.8.1.
    - [Release notes](https://github.com/pkg/errors/releases)
    - [Commits](pkg/errors@v0.8.0...v0.8.1)
    
    Signed-off-by: dependabot[bot] <support@dependabot.com>
    dependabot[bot] authored and domgreen committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    cde7a7e View commit details
    Browse the repository at this point in the history
  2. ran make (#846)

    * ran make
    
    * fmt fmt fmt
    domgreen committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    0ceacc9 View commit details
    Browse the repository at this point in the history
  3. Bump github.com/grpc-ecosystem/go-grpc-prometheus (#790)

    Bumps [github.com/grpc-ecosystem/go-grpc-prometheus](https://github.com/grpc-ecosystem/go-grpc-prometheus) from `93bf462` to `68e3a13`.
    - [Release notes](https://github.com/grpc-ecosystem/go-grpc-prometheus/releases)
    - [Commits](grpc-ecosystem/go-grpc-prometheus@93bf462...68e3a13)
    
    Signed-off-by: dependabot[bot] <support@dependabot.com>
    dependabot[bot] authored and domgreen committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    46ae2cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f56e2f9 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2019

  1. V0.3.1 master (#855)

    * updating version
    
    * remove new line
    domgreen authored and bwplotka committed Feb 19, 2019
    Configuration menu
    Copy the full SHA
    e1ef24d View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2019

  1. store: Fixed intersect matching when one matcher filters all series. (#…

    …862)
    
    Fixes #833
    
    Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
    bwplotka authored and domgreen committed Feb 21, 2019
    Configuration menu
    Copy the full SHA
    0c730c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2019

  1. Replace old manifests with new ones presented in demo. (#809)

    * Removed old kube manifests with updated k8s tutorial based on demo.
    
    Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
    
    * Updated kubernetes-demo manifests to use improbable/thanos:v0.3.0 docker image instead of the rc. (#827)
    
    Signed-off-by: David Calvert <davidcalvertfr@gmail.com>
    
    * Fixed links.
    
    Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
    
    * Improved docs (#840)
    
    * Updated kubernetes-demo manifests to use improbable/thanos:v0.3.0 docker image instead of the rc.
    
    Signed-off-by: David Calvert <davidcalvertfr@gmail.com>
    
    * renamed thanos-gateway to thanos-store-gateway and fixed headless servicename in order to resolve dns.
    
    Signed-off-by: David Calvert <davidcalvertfr@gmail.com>
    
    * Updated docs/getting_started.md path for manifests/thanos-store-gateway.yaml
    
    Signed-off-by: David Calvert <davidcalvertfr@gmail.com>
    bwplotka committed Feb 22, 2019
    Configuration menu
    Copy the full SHA
    e01a595 View commit details
    Browse the repository at this point in the history
  2. k8s tutorial: Moved to proper Thanos version. (#863)

    Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
    bwplotka authored and domgreen committed Feb 22, 2019
    Configuration menu
    Copy the full SHA
    a14cc0d View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2019

  1. Add a multi-stage Dockerfile (#871)

    Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
    sylr authored and bwplotka committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    0bb6590 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2019

  1. sidecar: Moved shipper flag check to run.group. (#867)

    Otherwise we can end up being in starvation. Reloader is trying to create config for Prometheus and
    shipper fails before that because Prometheus is not up.
    
    Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
    bwplotka committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    d6bf24f View commit details
    Browse the repository at this point in the history
  2. Update README.md with docker pull number. (#877)

    * Update README.md
    
    * Update README.md
    
    * Update README.md
    bwplotka committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    ca759be View commit details
    Browse the repository at this point in the history
  3. Rule component: Adding new API end point for rules and alerts in (#851)

    * Adding new API end point for rules and alerts
    
    * reusing methods in query api
    
    * Adding unitest for rule API (similar to prometheus rule/alert API end point unitest)
    
    * Adding SetCORS
    
    * Removing comments
    
    * Related to issue #850
    davtsur authored and bwplotka committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    55aaf76 View commit details
    Browse the repository at this point in the history
  4. store/cache: fix broken metric and current index cache size handling (#…

    …873)
    
    * store/cache: do not forget to increase c.current on adding new items
    
    * store/cache: properly adjust c.curSize
    
    * store/cache: prevent uint64 overflow by switching operands
    
    Adding uint64(len(b)) to c.curSize might potentially overflow uint64 if
    the numbers are big enough and then we might not remove enough items
    from the LRU to satisfy the request. On the other hand, switching the
    operands avoids this problem because we check before if uint64(len(b))
    is bigger than c.maxSize so subtracting uint64(len(b)) will *never*
    overflow because we know that it is less or equal to c.maxSize.
    
    * store/cache: revert ensureFits() changes
    
    c.curSize is lowered in onEvict.
    
    * store/cache: add smoke tests
    
    Add smoke tests for the index cache which check if we set curSize
    properly, and if removal works.
    GiedriusS authored and bwplotka committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    b3d7d15 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b7320c View commit details
    Browse the repository at this point in the history
  6. master version switch (#883)

    improbable-ludwik authored and bwplotka committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    b4ee2fa View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2019

  1. Include example Prometheus command line (#884)

    Make it more clear what the Prometheus command line flags should be for sidecar use.
    SuperQ authored and bwplotka committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    74a4b3b View commit details
    Browse the repository at this point in the history
  2. compact: relax index label checking (#848)

    It is possible that Prometheus will produce time series with duplicate
    labels. E.g.: a{b="2",b="2"} 1
    
    Where such metric is pushed to Prometheus either wittingly or
    unwittingly, the compact process will stall because the check will not
    pass. For example:
    
    {"caller":"main.go:181","err":"error executing compaction: compaction failed: compaction: gather index issues for block /data/compact/0@{monitor="monitor",replica="repl"}/01D34EDQMSQ29RHAC47XGKHGC7: out-of-order label set {**name**="foo",exported_job="vv",host="172_16_226_56",host="172_16_226_56",region="lt",subtask_index="5",task_attempt_id="32e4b047bb768583ff57c709be3b1046",task_attempt_num="8",task_id="688c028a219ff3372f3eecb0ee5811f9",task_name="Source:_foo",tenant="abc",tier="cooltier",tm_id="53b2ed987b08f427dec4ee1465df91fa"} for series 2594231","level":"error","msg":"running command failed","ts":"2019-02-11T13:30:33.901722306Z"}
    
    This commit fixes the mentioned issue. Amend the e2e test to test the
    case when a series has identical labels.
    GiedriusS authored and bwplotka committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    45c8a5f View commit details
    Browse the repository at this point in the history
  3. compact: add concurrency to meta sync (#887)

    * add concurrency to meta sync
    
    * fix test
    
    * update docs
    
    * address cr
    
    * use sentinel error to handle ignoring fresh blocks
    mjd95 authored and bwplotka committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    181c8ce View commit details
    Browse the repository at this point in the history