Skip to content

Commit

Permalink
fix all misspell
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Dai <764524258@qq.com>
  • Loading branch information
daixiang0 committed Dec 18, 2019
1 parent 4f488e7 commit 610f083
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ A **huge** thanks to the **36 contributors** who submitted **148 PR's** since 0.

## Docs

* **Docs** [1176](https://github.com/grafana/loki/pull/1176) **rfratto**: docs: add exmaple and documentation about using JMESPath literals
* **Docs** [1176](https://github.com/grafana/loki/pull/1176) **rfratto**: docs: add example and documentation about using JMESPath literals
* **Docs** [1139](https://github.com/grafana/loki/pull/1139) **joe-elliott**: Moved client docs and add serilog example
* **Docs** [1132](https://github.com/grafana/loki/pull/1132) **kailwallin**: FixedTypo.Update README.md
* **Docs** [1130](https://github.com/grafana/loki/pull/1130) **pracucci**: docs: fix Promtail / Loki capitalization
Expand Down
2 changes: 1 addition & 1 deletion cmd/docker-driver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BUILD_IMAGE=grafana/loki-build-image:0.9.0
# Directories in this file are referenced from the root of the project not this folder
# This file is intented to be called from the root like so:
# This file is intended to be called from the root like so:
# docker build -t grafana/loki -f cmd/loki/Dockerfile .

# TODO: add cross-platform support
Expand Down
2 changes: 1 addition & 1 deletion cmd/fluent-bit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You can use `Labels`, `RemoveKeys` , `LabelKeys` and `LabelMapPath` to how the o

### AutoKubernetesLabels

If set to true, it will add all Kubernetes labels to Loki labels automatically and ignore paramaters `LabelKeys`, LabelMapPath.
If set to true, it will add all Kubernetes labels to Loki labels automatically and ignore parameters `LabelKeys`, LabelMapPath.

### LabelMapPath

Expand Down
2 changes: 1 addition & 1 deletion cmd/loki-canary/Dockerfile.cross
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BUILD_IMAGE=grafana/loki-build-image:0.9.0
# Directories in this file are referenced from the root of the project not this folder
# This file is intented to be called from the root like so:
# This file is intended to be called from the root like so:
# docker build -t grafana/promtail -f cmd/promtail/Dockerfile .
FROM golang:1.11.4-alpine as goenv
RUN go env GOARCH > /goarch && \
Expand Down
2 changes: 1 addition & 1 deletion cmd/loki/Dockerfile.cross
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BUILD_IMAGE=grafana/loki-build-image:0.9.0
# Directories in this file are referenced from the root of the project not this folder
# This file is intented to be called from the root like so:
# This file is intended to be called from the root like so:
# docker build -t grafana/loki -f cmd/loki/Dockerfile .
FROM golang:1.11.4-alpine as goenv
RUN go env GOARCH > /goarch && \
Expand Down
2 changes: 1 addition & 1 deletion cmd/loki/Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Directories in this file are referenced from the root of the project not this folder
# This file is intented to be called from the root like so:
# This file is intended to be called from the root like so:
# docker build -t grafana/loki -f cmd/loki/Dockerfile.debug .

FROM grafana/loki-build-image as build
Expand Down
2 changes: 1 addition & 1 deletion cmd/promtail/Dockerfile.cross
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BUILD_IMAGE=grafana/loki-build-image:0.9.0
# Directories in this file are referenced from the root of the project not this folder
# This file is intented to be called from the root like so:
# This file is intended to be called from the root like so:
# docker build -t grafana/promtail -f cmd/promtail/Dockerfile .
FROM golang:1.11.4-alpine as goenv
RUN go env GOARCH > /goarch && \
Expand Down
2 changes: 1 addition & 1 deletion cmd/promtail/Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Directories in this file are referenced from the root of the project not this folder
# This file is intented to be called from the root like so:
# This file is intended to be called from the root like so:
# docker build -t grafana/promtail -f cmd/promtail/Dockerfile.debug .

FROM grafana/loki-build-image as build
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ the hash ring. Each ingester has a state of either `PENDING`, `JOINING`,
read requests for data it still has in memory.

5. `UNHEALTHY` is an Ingester's state when it has failed to heartbeat to
Consul. `UNHEALHTY` is set by the distributor when it periodically checks the ring.
Consul. `UNHEALTHY` is set by the distributor when it periodically checks the ring.

Each log stream that an ingester receives is built up into a set of many
"chunks" in memory and flushed to the backing storage backend at a configurable
Expand Down
2 changes: 1 addition & 1 deletion docs/clients/promtail/stages/cri.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ space-delimited values with the following components:
2. `stream`: Either stdout or stderr
3. `log`: The contents of the log line

No whitespace is permitted between the components. In the following exmaple,
No whitespace is permitted between the components. In the following example,
only the first log line can be properly formatted using the `cri` stage:

```
Expand Down
8 changes: 4 additions & 4 deletions docs/clients/promtail/stages/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ increment the counter by one rather than by using the value of `time`.
- regex:
expression: "^.*(?P<order_success>order successful).*$"
- metrics:
succesful_orders_total:
successful_orders_total:
type: Counter
description: "log lines with the message `order successful`"
source: order_success
Expand All @@ -140,7 +140,7 @@ increment the counter by one rather than by using the value of `time`.
This pipeline first tries to find `order successful` in the log line, extracting
it as the `order_success` field in the extracted map. The metrics stage then
creates a metric called `succesful_orders_total` whose value only increases when
creates a metric called `successful_orders_total` whose value only increases when
`order_success` was found in the extracted map.

The result of this pipeline is a metric whose value only increases when a log
Expand All @@ -150,7 +150,7 @@ line with the text `order successful` was scraped by Promtail.
- regex:
expression: "^.* order_status=(?P<order_status>.*?) .*$"
- metrics:
succesful_orders_total:
successful_orders_total:
type: Counter
description: "successful orders"
source: order_status
Expand All @@ -170,7 +170,7 @@ This pipeline first tries to find text in the format `order_status=<value>` in
the log line, pulling out the `<value>` into the extracted map with the key
`order_status`.

The metric stages creates `succesful_orders_total` and `failed_orders_total`
The metric stages creates `successful_orders_total` and `failed_orders_total`
metrics that only increment when the value of `order_status` in the extracted
map is `success` or `fail` respectively.

Expand Down
12 changes: 6 additions & 6 deletions docs/configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pool_config:
The `grpc_client_config` block configures a client connection to a gRPC service.

```yaml
# The maximum size in bytes the client can recieve
# The maximum size in bytes the client can receive
[max_recv_msg_size: <int> | default = 104857600]
# The maximum size in bytes the client can send
Expand Down Expand Up @@ -297,7 +297,7 @@ ring.
[ring: <ring_config>]
# The number of tokens the lifecycler will generate and put into the ring if
# it joined without transfering tokens from another lifecycler.
# it joined without transferring tokens from another lifecycler.
[num_tokens: <int> | default = 128]
# Period at which to heartbeat to the underlying ring.
Expand Down Expand Up @@ -363,9 +363,9 @@ kvstore:
# The maximum number of retries to do for failed ops to ETCD.
[max_retries: <int> | default = 10]
# The heartbeart timeout after which ingesters are skipped for
# The heartbeat timeout after which ingesters are skipped for
# reading and writing.
[heartbeart_timeout: <duration> | default = 1m]
[heartbeat_timeout: <duration> | default = 1m]
# The number of ingesters to write to and read from. Must be at least
# 1.
Expand All @@ -390,7 +390,7 @@ aws:
# Set to true to force the request to use path-style addressing
[s3forcepathstyle: <boolean> | default = false]
# Configure the DynamoDB conection
# Configure the DynamoDB connection
dynamodbconfig:
# URL for DynamoDB with escaped Key and Secret encoded. If only region is specified as a
# host, the proper endpoint will be deduced. Use inmemory:///<bucket-name> to
Expand Down Expand Up @@ -546,7 +546,7 @@ the index to a backing cache store.
# Enable in-memory cache.
[enable_fifocache: <boolean>]
# The default validity of entries for caches unless overriden.
# The default validity of entries for caches unless overridden.
# "defaul" is correct.
[defaul_validity: <duration>]
Expand Down
2 changes: 1 addition & 1 deletion production/ksonnet/loki/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
max_look_back_period: 0,
},

// Default schema config is bigtable/gcs, this will need to be overriden for other stores
// Default schema config is bigtable/gcs, this will need to be overridden for other stores
schema_config: {
configs: [{
from: '2018-04-15',
Expand Down

0 comments on commit 610f083

Please sign in to comment.