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

dannykopping/autodeploy key #1

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
ffc8705
Delete docs/sources/copyright directory (#5325)
nate-walters-grafana Feb 7, 2022
e4d6767
Fix apply retention issue (#5342)
sandeepsukhani Feb 8, 2022
d934139
fix changelog issue reference to lambda-promtail (#5347)
josharrington Feb 8, 2022
a3bacd5
Test `LegacySample` and `LegacyLabelPair` compatibility. (#5313)
DylanGuedes Feb 8, 2022
8e9009a
Speed up `EntrySortIterator` by 20%. (#5318)
jeschkies Feb 9, 2022
0afd113
fix rounding of time to milliseconds (#5352)
sandeepsukhani Feb 9, 2022
7fafe94
add a ms instead of ns to end time of the rebound chunk interval (#5351)
sandeepsukhani Feb 10, 2022
0241673
Ruler: Rule group not found API message (#5362)
gotjosh Feb 10, 2022
bbaef79
Add usage report into Loki. (#5361)
cyriltovena Feb 10, 2022
21fa187
Improve report usage to never fail (#5364)
cyriltovena Feb 10, 2022
b19ce62
Build and publish build image. (#5322)
jeschkies Feb 11, 2022
d44b689
Fixes memberlist usage report (#5369)
cyriltovena Feb 11, 2022
0e51896
updated documentation for xk6-loki extension (#5321)
vlad-diachenko Feb 11, 2022
da9b4c9
cleanup common index set after cleaning up all the user index sets (#…
sandeepsukhani Feb 11, 2022
4fafc9c
Fixes a flaky hedging test. (#5389)
cyriltovena Feb 15, 2022
e65d1b8
add more context to logs, improve comments for clarity in boltdb-ship…
sandeepsukhani Feb 15, 2022
ec1ae42
Verify that drone.yml was updated. (#5396)
jeschkies Feb 15, 2022
b3af2db
Loki: include the component in metrics.go log line (#5379)
slim-bean Feb 15, 2022
d970e73
Add more context to tailer-> ingester connect error. (#5394)
kavirajk Feb 15, 2022
64589d0
Logql: Correct grouping type in pkg/logql/expr.y (#5306)
SasSwart Feb 15, 2022
7378b69
Fix Azure issue where 404 not recognized (#5399)
MasslessParticle Feb 15, 2022
8289783
Cleaning up deploy-example-secret.sh (#5374)
Red-GV Feb 15, 2022
b8e9973
[operator] Add degraded condition when gateway is enabled and tenants…
Feb 15, 2022
9b6f17f
Add the total number of subqueries to query statistics (#5397)
cyriltovena Feb 15, 2022
1837c9e
Experimental TSDB index (#5376)
owen-d Feb 15, 2022
b4bb8a1
Fixes double metrics registration in reporting (#5407)
cyriltovena Feb 16, 2022
d8ed87d
Update dskit version (#5392)
MichelHollands Feb 16, 2022
00bd6cc
Run `make drone` to use the new build image (#5368)
Feb 16, 2022
d8780da
Revert to working version of Azure client (#5413)
MasslessParticle Feb 16, 2022
776d5c4
Lambda-promtail: Enhance lambda-promtail to support adding extra labe…
JBSchami Feb 16, 2022
91b0bcf
remove promtail_log_entries_bytes_bucket (#5377)
slim-bean Feb 17, 2022
137a28d
Adds bytes and entries to chunk metadata in tsdb (#5414)
owen-d Feb 17, 2022
5d8bc61
Correctly sets hash value for headblock iterator (#5423)
cyriltovena Feb 17, 2022
39e9c14
Use output plugin grafana-loki (#5386)
jrykr Feb 17, 2022
07e5eb3
Do not use WaitGroup context for StepEvaluator (#5425)
cyriltovena Feb 18, 2022
ff21fb0
jsonnet: move boltdb-shipper configs set as compactor args to yaml co…
sandeepsukhani Feb 21, 2022
4ca1fd0
set match_max_concurrent true by default (#5435)
slim-bean Feb 21, 2022
c80244a
Parse duration expressions in accordance with promql (#5275)
SasSwart Feb 22, 2022
4db3e59
Build: simplify make targets to just run every time (#5411)
slim-bean Feb 22, 2022
00ca1aa
do not send grpc responses concurrently from index-gateway (#5445)
sandeepsukhani Feb 22, 2022
a839716
Adds a tool for converting boltdb->tsdb and benchmarking queries (#5430)
owen-d Feb 22, 2022
333d5da
add a metric for tracking the duration it took to sync the tables in …
sandeepsukhani Feb 22, 2022
6d0ca24
Fix operational dashboard (#5448)
MasslessParticle Feb 22, 2022
776e229
pkg/ruler/base: Add external_labels option (#5450)
BenoitKnecht Feb 23, 2022
c36272e
Tsdb/idempotent builder (#5424)
owen-d Feb 23, 2022
3ec0bd3
Update loki-mixin/dashboard-loki-operational queries to correctly dis…
JordanRushing Feb 23, 2022
e3db267
Do not insert point when missing when sharding (#5444)
cyriltovena Feb 23, 2022
56cebfc
Change default installation namespace on OpenShift (#5441)
Feb 24, 2022
9f301cf
use the defined querypages callback in all the types implementing Que…
sandeepsukhani Feb 24, 2022
cbd3b00
logproto: Add deprecated annotation to LegacySample and LegacyLabelPa…
tpaschalis Feb 24, 2022
daacfd0
Fix two remote_timeout configs in ingester_client block (#5418)
RangerCD Feb 24, 2022
7320cb2
Update _index.md (#5458)
ivanahuckova Feb 24, 2022
55acdbd
boltdb shipper index gateway client improvements (#5456)
sandeepsukhani Feb 24, 2022
8f6d3d9
Add support for additional storage backends in operator (#5432)
Red-GV Feb 24, 2022
6dad54f
Fixes ingester sample deduping (#5470)
cyriltovena Feb 25, 2022
a411bb9
Disable sharding of count/avg when labels are mutated (#5474)
cyriltovena Feb 25, 2022
651ac09
Fix circular dependencies (#5420)
salvacorts Feb 25, 2022
87b7dfa
Stream query responses from boltdb index client (#5468)
sandeepsukhani Feb 25, 2022
d563d2c
Fixes Reads dashboard boltdb panels. (#5475)
cyriltovena Feb 25, 2022
6c84304
promtail/targets/syslog: Enable best effort parsing for Syslog messag…
ldb Feb 25, 2022
0a5e01b
Rounds chunk bytes to kb in tsdb and includes benchmarking script (#5…
owen-d Feb 25, 2022
1e56dca
per user index query readiness with limits overrides (#5484)
sandeepsukhani Feb 28, 2022
b485b81
Fix potential deadlock in the table manager (#5472)
MasslessParticle Feb 28, 2022
cf4ed14
Moved autodeploy configuration into common so Loki team can access & …
Feb 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ workflows:
# https://circleci.com/blog/circleci-hacks-reuse-yaml-in-your-circleci-config-with-yaml/
.defaults: &defaults
docker:
- image: grafana/loki-build-image:0.13.0
- image: grafana/loki-build-image:0.19.0
working_directory: /src/loki

jobs:
Expand Down
32 changes: 30 additions & 2 deletions .drone/drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ local condition(verb) = {
],
},
},
path(path): {
paths: {
[verb]: [path],
},
},
};

local pipeline(name) = {
Expand All @@ -39,7 +44,7 @@ local pull_secret = secret('dockerconfigjson', 'secret/data/common/gcr', '.docke
local github_secret = secret('github_token', 'infra/data/ci/github/grafanabot', 'pat');

// Injected in a secret because this is a public repository and having the config here would leak our environment names
local deploy_configuration = secret('deploy_config', 'infra/data/ci/loki/deploy', 'config.json');
local deploy_configuration = secret('deploy_config', 'common/loki/ci/autodeploy', 'config.json');


local run(name, commands) = {
Expand Down Expand Up @@ -310,12 +315,35 @@ local manifest(apps) = pipeline('manifest') {
};

[
pipeline('loki-build-image') {
workspace: {
base: '/src',
path: 'loki',
},
steps: [
{
name: 'push-image',
image: 'plugins/docker',
when: condition('include').tagMain + condition('include').path('loki-build-image/**'),
settings: {
repo: 'grafana/loki-build-image',
context: 'loki-build-image',
dockerfile: 'loki-build-image/Dockerfile',
username: { from_secret: docker_username_secret.name },
password: { from_secret: docker_password_secret.name },
tags: ['0.20.0'],
dry_run: false,
},
},
],
},
pipeline('check') {
workspace: {
base: '/src',
path: 'loki',
},
steps: [
make('check-drone-drift', container=false) { depends_on: ['clone'] },
make('check-generated-files', container=false) { depends_on: ['clone'] },
make('test', container=false) { depends_on: ['clone', 'check-generated-files'] },
make('lint', container=false) { depends_on: ['clone', 'check-generated-files'] },
Expand All @@ -325,7 +353,7 @@ local manifest(apps) = pipeline('manifest') {
image: 'koalaman/shellcheck-alpine:stable',
commands: ['apk add make bash && make lint-scripts'],
},
make('loki', container=false) { depends_on: ['clone'] },
make('loki', container=false) { depends_on: ['clone', 'check-generated-files'] },
make('validate-example-configs', container=false) { depends_on: ['loki'] },
make('check-example-config-doc', container=false) { depends_on: ['clone'] },
],
Expand Down
58 changes: 49 additions & 9 deletions .drone/drone.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,73 @@
---
kind: pipeline
name: loki-build-image
steps:
- image: plugins/docker
name: push-image
settings:
context: loki-build-image
dockerfile: loki-build-image/Dockerfile
dry_run: false
password:
from_secret: docker_password
repo: grafana/loki-build-image
tags:
- 0.20.0
username:
from_secret: docker_username
when:
paths:
include:
- loki-build-image/**
ref:
include:
- refs/heads/main
- refs/heads/k??
- refs/tags/v*
trigger:
event:
- push
- pull_request
workspace:
base: /src
path: loki
---
kind: pipeline
name: check
steps:
- commands:
- make BUILD_IN_CONTAINER=false check-drone-drift
depends_on:
- clone
image: grafana/loki-build-image:0.20.0
name: check-drone-drift
- commands:
- make BUILD_IN_CONTAINER=false check-generated-files
depends_on:
- clone
image: grafana/loki-build-image:0.18.0
image: grafana/loki-build-image:0.20.0
name: check-generated-files
- commands:
- make BUILD_IN_CONTAINER=false test
depends_on:
- clone
- check-generated-files
image: grafana/loki-build-image:0.18.0
image: grafana/loki-build-image:0.20.0
name: test
- commands:
- make BUILD_IN_CONTAINER=false lint
depends_on:
- clone
- check-generated-files
image: grafana/loki-build-image:0.18.0
image: grafana/loki-build-image:0.20.0
name: lint
- commands:
- make BUILD_IN_CONTAINER=false check-mod
depends_on:
- clone
- test
- lint
image: grafana/loki-build-image:0.18.0
image: grafana/loki-build-image:0.20.0
name: check-mod
- commands:
- apk add make bash && make lint-scripts
Expand All @@ -38,19 +77,20 @@ steps:
- make BUILD_IN_CONTAINER=false loki
depends_on:
- clone
image: grafana/loki-build-image:0.18.0
- check-generated-files
image: grafana/loki-build-image:0.20.0
name: loki
- commands:
- make BUILD_IN_CONTAINER=false validate-example-configs
depends_on:
- loki
image: grafana/loki-build-image:0.18.0
image: grafana/loki-build-image:0.20.0
name: validate-example-configs
- commands:
- make BUILD_IN_CONTAINER=false check-example-config-doc
depends_on:
- clone
image: grafana/loki-build-image:0.18.0
image: grafana/loki-build-image:0.20.0
name: check-example-config-doc
trigger:
event:
Expand Down Expand Up @@ -84,7 +124,7 @@ node:
steps:
- commands:
- go test -mod=vendor -bench=Benchmark -benchtime 20x -timeout 120m ./pkg/...
image: grafana/loki-build-image:0.18.0
image: grafana/loki-build-image:0.20.0
name: All
trigger:
cron:
Expand Down Expand Up @@ -1025,6 +1065,6 @@ kind: secret
name: deploy_config
---
kind: signature
hmac: 615276ab546179d2261b1af22830b968afe2e437463f22ac86a349fca3c86428
hmac: 6d010031b5c18947ac4710106d06f119e77d715ddc687983227700254b27e6d8

...
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Main


* [5356](https://github.com/grafana/loki/pull/5356) **jbschami**: Enhance lambda-promtail to support adding extra labels from an environment variable value
* [5392](https://github.com/grafana/loki/pull/5392) **MichelHollands**: Etcd credentials are parsed as secrets instead of plain text now.
* [5361](https://github.com/grafana/loki/pull/5361) **ctovena**: Add usage report to grafana.com.
* [5289](https://github.com/grafana/loki/pull/5289) **ctovena**: Fix deduplication bug in queries when mutating labels.
* [5302](https://github.com/grafana/loki/pull/5302) **MasslessParticle** Update azure blobstore client to use new sdk.
* [5243](https://github.com/grafana/loki/pull/5290) **ssncferreira**: Update Promtail to support duration string formats.
Expand All @@ -20,7 +24,7 @@
* [5081](https://github.com/grafana/loki/pull/5081) **SasSwart**: Add the option to configure memory ballast for Loki
* [5085](https://github.com/grafana/loki/pull/5085) **aknuds1**: Upgrade Cortex to [e0807c4eb487](https://github.com/cortexproject/cortex/compare/4e9fc3a2b5ab..e0807c4eb487) and Prometheus to [692a54649ed7](https://github.com/prometheus/prometheus/compare/2a3d62ac8456..692a54649ed7)
* [5067](https://github.com/grafana/loki/pull/5057) **cstyan**: Add a metric to Azure Blob Storage client to track total egress bytes
* [5056](https://github.com/grafana/loki/pull/5056) **AndreZiviani**: lambda-promtail: Add ability to ingest logs from S3
* [5065](https://github.com/grafana/loki/pull/5065) **AndreZiviani**: lambda-promtail: Add ability to ingest logs from S3
* [4950](https://github.com/grafana/loki/pull/4950) **DylanGuedes**: Implement common instance addr/net interface
* [4949](https://github.com/grafana/loki/pull/4949) **ssncferreira**: Add query `queueTime` metric to statistics and metrics.go
* [4938](https://github.com/grafana/loki/pull/4938) **DylanGuedes**: Implement ring status page for the distributor
Expand Down Expand Up @@ -54,6 +58,9 @@
* [5204](https://github.com/grafana/loki/pull/5204) **trevorwhitney**: Default `max_outstanding_per_tenant` to `2048`
* [5253](https://github.com/grafana/loki/pull/5253) **Juneezee**: refactor: use `T.TempDir` to create temporary test directory
* [5315](https://github.com/grafana/loki/pull/5315) **bboreham**: filters: use faster regexp package
* [5393](https://github.com/grafana/loki/pull/5393) **sandeepsukhani**: jsonnet: move boltdb-shipper configs set as compactor args to yaml config
* [5450](https://github.com/grafana/loki/pull/5450) **BenoitKnecht**: pkg/ruler/base: Add external_labels option
* [5484](https://github.com/grafana/loki/pull/5450) **sandeepsukhani**: Add support for per user index query readiness with limits overrides

# 2.4.1 (2021/11/07)

Expand Down
Loading