-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into poyzannur/remove-minTableAgeCheck
- Loading branch information
Showing
49 changed files
with
1,913 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Checks | ||
on: [push] | ||
jobs: | ||
checks: | ||
runs-on: ubuntu-latest | ||
env: | ||
BUILD_IN_CONTAINER: false | ||
container: | ||
image: grafana/loki-build-image:0.32.0 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- run: make lint | ||
- run: make check-doc | ||
- run: make check-mod | ||
- run: make validate-example-configs | ||
- run: make check-example-config-doc | ||
- run: make check-drone-drift | ||
- run: make check-generated-files | ||
- run: make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
auth_enabled: false | ||
|
||
server: | ||
http_listen_port: 3100 | ||
grpc_listen_port: 9096 | ||
|
||
common: | ||
instance_addr: 127.0.0.1 | ||
path_prefix: /tmp/loki | ||
storage: | ||
filesystem: | ||
chunks_directory: /tmp/loki/chunks | ||
rules_directory: /tmp/loki/rules | ||
replication_factor: 1 | ||
ring: | ||
kvstore: | ||
store: inmemory | ||
|
||
query_range: | ||
align_queries_with_step: true | ||
cache_index_stats_results: true | ||
cache_results: true | ||
cache_volume_results: true | ||
cache_series_results: true | ||
series_results_cache: | ||
cache: | ||
default_validity: 12h | ||
memcached_client: | ||
consistent_hash: true | ||
addresses: "dns+localhost:11211" | ||
max_idle_conns: 16 | ||
timeout: 500ms | ||
update_interval: 1m | ||
index_stats_results_cache: | ||
cache: | ||
default_validity: 12h | ||
memcached_client: | ||
consistent_hash: true | ||
addresses: "dns+localhost:11211" | ||
max_idle_conns: 16 | ||
timeout: 500ms | ||
update_interval: 1m | ||
max_retries: 5 | ||
results_cache: | ||
cache: | ||
default_validity: 12h | ||
memcached_client: | ||
consistent_hash: true | ||
addresses: "dns+localhost:11211" | ||
max_idle_conns: 16 | ||
timeout: 500ms | ||
update_interval: 1m | ||
volume_results_cache: | ||
cache: | ||
default_validity: 12h | ||
memcached_client: | ||
consistent_hash: true | ||
addresses: "dns+localhost:11211" | ||
max_idle_conns: 16 | ||
timeout: 500ms | ||
update_interval: 1m | ||
|
||
schema_config: | ||
configs: | ||
- from: 2020-10-24 | ||
store: tsdb | ||
object_store: filesystem | ||
schema: v12 | ||
index: | ||
prefix: index_ | ||
period: 24h | ||
|
||
ruler: | ||
alertmanager_url: http://localhost:9093 | ||
|
||
# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration | ||
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/ | ||
# | ||
# Statistics help us better understand how Loki is used, and they show us performance | ||
# levels for most users. This helps us prioritize features and documentation. | ||
# For more information on what's sent, look at | ||
# https://github.com/grafana/loki/blob/main/pkg/analytics/stats.go | ||
# Refer to the buildReport method to see what goes into a report. | ||
# | ||
# If you would like to disable reporting, uncomment the following lines: | ||
#analytics: | ||
# reporting_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package distributor | ||
|
||
// Tee imlpementations can duplicate the log streams to another endpoint. | ||
// Tee implementations can duplicate the log streams to another endpoint. | ||
type Tee interface { | ||
Duplicate([]KeyedStream) | ||
Duplicate(tenant string, streams []KeyedStream) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.