Fix spelling errors in comments and documentation (#7492)

This commit is contained in:
Josh Soref
2020-05-14 03:41:58 -04:00
committed by GitHub
parent c78045c13f
commit 2c56d6de81
134 changed files with 215 additions and 215 deletions

View File

@@ -1,6 +1,6 @@
# AMQP Output Plugin
This plugin writes to a AMQP 0-9-1 Exchange, a promenent implementation of this protocol being [RabbitMQ](https://www.rabbitmq.com/).
This plugin writes to a AMQP 0-9-1 Exchange, a prominent implementation of this protocol being [RabbitMQ](https://www.rabbitmq.com/).
This plugin does not bind the exchange to a queue.
@@ -40,7 +40,7 @@ For an introduction to AMQP see:
## Additional exchange arguments.
# exchange_arguments = { }
# exchange_arguments = {"hash_propery" = "timestamp"}
# exchange_arguments = {"hash_property" = "timestamp"}
## Authentication credentials for the PLAIN auth_method.
# username = ""

View File

@@ -99,7 +99,7 @@ var sampleConfig = `
## Additional exchange arguments.
# exchange_arguments = { }
# exchange_arguments = {"hash_propery" = "timestamp"}
# exchange_arguments = {"hash_property" = "timestamp"}
## Authentication credentials for the PLAIN auth_method.
# username = ""

View File

@@ -288,7 +288,7 @@ func TestTagsAppliedToTelemetry(t *testing.T) {
transmitter.AssertNumberOfCalls(t, "Track", len(tt.metricValueFields))
transmitter.AssertCalled(t, "Track", mock.AnythingOfType("*appinsights.MetricTelemetry"))
// Will verify that all original tags are present in telemetry.Properies map
// Will verify that all original tags are present in telemetry.Properties map
verifyAdditionalTelemetry(assert, m, transmitter, tt.metricValueFields, metricName)
}

View File

@@ -44,12 +44,12 @@ func (e *Exec) SetSerializer(serializer serializers.Serializer) {
e.serializer = serializer
}
// Connect satisfies the Ouput interface.
// Connect satisfies the Output interface.
func (e *Exec) Connect() error {
return nil
}
// Close satisfies the Ouput interface.
// Close satisfies the Output interface.
func (e *Exec) Close() error {
return nil
}

View File

@@ -11,7 +11,7 @@ This plugin writes telegraf metrics to files
## Use batch serialization format instead of line based delimiting. The
## batch format allows for the production of non line based output formats and
## may more effiently encode and write metrics.
## may more efficiently encode and write metrics.
# use_batch_format = false
## The file will be rotated after the time interval specified. When set

View File

@@ -31,7 +31,7 @@ var sampleConfig = `
## Use batch serialization format instead of line based delimiting. The
## batch format allows for the production of non line based output formats and
## may more effiently encode metric groups.
## may more efficiently encode metric groups.
# use_batch_format = false
## The file will be rotated after the time interval specified. When set

View File

@@ -236,7 +236,7 @@ func (c *httpClient) CreateDatabase(ctx context.Context, database string) error
}
// Don't attempt to recreate the database after a 403 Forbidden error.
// This behavior exists only to maintain backwards compatiblity.
// This behavior exists only to maintain backwards compatibility.
if resp.StatusCode == http.StatusForbidden {
c.createDatabaseExecuted[database] = true
}

View File

@@ -20,6 +20,6 @@ by whitespace. The `increment` type is only used if the metric comes in as a cou
template = "host.tags.measurement.field"
## Timeout in seconds to connect
timeout = "2s"
## Debug true - Print communcation to Instrumental
## Debug true - Print communication to Instrumental
debug = false
```

View File

@@ -51,7 +51,7 @@ var sampleConfig = `
template = "host.tags.measurement.field"
## Timeout in seconds to connect
timeout = "2s"
## Display Communcation to Instrumental
## Display Communication to Instrumental
debug = false
`

View File

@@ -51,7 +51,7 @@ solution to scale out.
### use_random_partitionkey [DEPRECATED]
When true a random UUID will be generated and used as the partitionkey when sending data to Kinesis. This allows data to evenly spread across multiple shards in the stream. Due to using a random paritionKey there can be no guarantee of ordering when consuming the data off the shards.
When true a random UUID will be generated and used as the partitionkey when sending data to Kinesis. This allows data to evenly spread across multiple shards in the stream. Due to using a random partitionKey there can be no guarantee of ordering when consuming the data off the shards.
If true then the partitionkey option will be ignored.
### partition
@@ -70,7 +70,7 @@ All metrics will be mapped to the same shard which may limit throughput.
#### tag
This will take the value of the specified tag from each metric as the paritionKey.
This will take the value of the specified tag from each metric as the partitionKey.
If the tag is not found the `default` value will be used or `telegraf` if unspecified
#### measurement

View File

@@ -70,7 +70,7 @@ var sampleConfig = `
streamname = "StreamName"
## DEPRECATED: PartitionKey as used for sharding data.
partitionkey = "PartitionKey"
## DEPRECATED: If set the paritionKey will be a random UUID on every put.
## DEPRECATED: If set the partitionKey will be a random UUID on every put.
## This allows for scaling across multiple shards in a stream.
## This will cause issues with ordering.
use_random_partitionkey = false

View File

@@ -32,7 +32,7 @@ type Librato struct {
var reUnacceptedChar = regexp.MustCompile("[^.a-zA-Z0-9_-]")
var sampleConfig = `
## Librator API Docs
## Librato API Docs
## http://dev.librato.com/v1/metrics-authentication
## Librato API user
api_user = "telegraf@influxdb.com" # required.

View File

@@ -53,7 +53,7 @@ This plugin writes to a [MQTT Broker](http://http://mqtt.org/) acting as a mqtt
### Optional parameters:
* `username`: The username to connect MQTT server.
* `password`: The password to connect MQTT server.
* `client_id`: The unique client id to connect MQTT server. If this paramater is not set then a random ID is generated.
* `client_id`: The unique client id to connect MQTT server. If this parameter is not set then a random ID is generated.
* `timeout`: Timeout for write operations. default: 5s
* `tls_ca`: TLS CA
* `tls_cert`: TLS CERT

View File

@@ -28,7 +28,7 @@ Additional resource labels can be configured by `resource_labels`. By default th
## Custom resource type
# resource_type = "generic_node"
## Additonal resource labels
## Additional resource labels
# [outputs.stackdriver.resource_labels]
# node_id = "$HOSTNAME"
# namespace = "myapp"

View File

@@ -61,7 +61,7 @@ var sampleConfig = `
## Custom resource type
# resource_type = "generic_node"
## Additonal resource labels
## Additional resource labels
# [outputs.stackdriver.resource_labels]
# node_id = "$HOSTNAME"
# namespace = "myapp"

View File

@@ -42,13 +42,13 @@ Syslog messages are formatted according to
## be one of "octet-counting", "non-transparent".
# framing = "octet-counting"
## The trailer to be expected in case of non-trasparent framing (default = "LF").
## The trailer to be expected in case of non-transparent framing (default = "LF").
## Must be one of "LF", or "NUL".
# trailer = "LF"
## SD-PARAMs settings
## Syslog messages can contain key/value pairs within zero or more
## structured data sections. For each unrecognised metric tag/field a
## structured data sections. For each unrecognized metric tag/field a
## SD-PARAMS is created.
##
## Example:
@@ -64,8 +64,8 @@ Syslog messages are formatted according to
# sdparam_separator = "_"
## Default sdid used for tags/fields that don't contain a prefix defined in
## the explict sdids setting below If no default is specified, no SD-PARAMs
## will be used for unrecognised field.
## the explicit sdids setting below If no default is specified, no SD-PARAMs
## will be used for unrecognized field.
# default_sdid = "default@32473"
## List of explicit prefixes to extract from tag/field keys and use as the

View File

@@ -64,13 +64,13 @@ var sampleConfig = `
## be one of "octet-counting", "non-transparent".
# framing = "octet-counting"
## The trailer to be expected in case of non-trasparent framing (default = "LF").
## The trailer to be expected in case of non-transparent framing (default = "LF").
## Must be one of "LF", or "NUL".
# trailer = "LF"
## SD-PARAMs settings
## Syslog messages can contain key/value pairs within zero or more
## structured data sections. For each unrecognised metric tag/field a
## structured data sections. For each unrecognized metric tag/field a
## SD-PARAMS is created.
##
## Example:
@@ -86,8 +86,8 @@ var sampleConfig = `
# sdparam_separator = "_"
## Default sdid used for tags/fields that don't contain a prefix defined in
## the explict sdids setting below If no default is specified, no SD-PARAMs
## will be used for unrecognised field.
## the explicit sdids setting below If no default is specified, no SD-PARAMs
## will be used for unrecognized field.
# default_sdid = "default@32473"
## List of explicit prefixes to extract from tag/field keys and use as the

View File

@@ -33,7 +33,7 @@ This plugin writes to a [Wavefront](https://www.wavefront.com) proxy, in Wavefro
#convert_paths = true
## Use Strict rules to sanitize metric and tag names from invalid characters
## When enabled forward slash (/) and comma (,) will be accpeted
## When enabled forward slash (/) and comma (,) will be accepted
#use_strict = false
## Use Regex to sanitize metric and tag names from invalid characters
@@ -75,7 +75,7 @@ source of the metric.
### Wavefront Data format
The expected input for Wavefront is specified in the following way:
```
<metric> <value> [<timestamp>] <source|host>=<soureTagValue> [tagk1=tagv1 ...tagkN=tagvN]
<metric> <value> [<timestamp>] <source|host>=<sourceTagValue> [tagk1=tagv1 ...tagkN=tagvN]
```
More information about the Wavefront data format is available [here](https://community.wavefront.com/docs/DOC-1031)

View File

@@ -84,7 +84,7 @@ var sampleConfig = `
#convert_paths = true
## Use Strict rules to sanitize metric and tag names from invalid characters
## When enabled forward slash (/) and comma (,) will be accpeted
## When enabled forward slash (/) and comma (,) will be accepted
#use_strict = false
## Use Regex to sanitize metric and tag names from invalid characters