Fix spelling errors in comments and documentation (#7492)
This commit is contained in:
@@ -40,7 +40,7 @@ values.
|
||||
## These columns will be skipped in the header as well.
|
||||
csv_skip_columns = 0
|
||||
|
||||
## The seperator between csv fields
|
||||
## The separator between csv fields
|
||||
## By default, the parser assumes a comma (",")
|
||||
csv_delimiter = ","
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Dropwizard
|
||||
|
||||
The `dropwizard` data format can parse the [JSON Dropwizard][dropwizard] representation of a single dropwizard metric registry. By default, tags are parsed from metric names as if they were actual influxdb line protocol keys (`measurement<,tag_set>`) which can be overriden by defining a custom [template pattern][templates]. All field value types are supported, `string`, `number` and `boolean`.
|
||||
The `dropwizard` data format can parse the [JSON Dropwizard][dropwizard] representation of a single dropwizard metric registry. By default, tags are parsed from metric names as if they were actual influxdb line protocol keys (`measurement<,tag_set>`) which can be overridden by defining a custom [template pattern][templates]. All field value types are supported, `string`, `number` and `boolean`.
|
||||
|
||||
[templates]: /docs/TEMPLATE_PATTERN.md
|
||||
[dropwizard]: http://metrics.dropwizard.io/3.1.0/manual/json/
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
const (
|
||||
// DefaultSeparator is the default join character to use when joining multiple
|
||||
// measurment parts in a template.
|
||||
// measurement parts in a template.
|
||||
DefaultSeparator = "."
|
||||
)
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ func (h *MetricHandler) SetTimePrecision(p time.Duration) {
|
||||
// comes from the server clock, truncated to the nearest unit of
|
||||
// measurement provided in precision.
|
||||
//
|
||||
// When a timestamp is provided in the metric, precsision is
|
||||
// When a timestamp is provided in the metric, precision is
|
||||
// overloaded to hold the unit of measurement of the timestamp.
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ ignored unless specified in the `tag_key` or `json_string_fields` options.
|
||||
## metric.
|
||||
json_time_key = ""
|
||||
|
||||
## Time format is the time layout that should be used to interprete the json_time_key.
|
||||
## Time format is the time layout that should be used to interpret the json_time_key.
|
||||
## The time must be `unix`, `unix_ms`, `unix_us`, `unix_ns`, or a time in the
|
||||
## "reference time". To define a different format, arrange the values from
|
||||
## the "reference time" in the example to match the format you will be
|
||||
|
||||
@@ -37,7 +37,7 @@ type LiteralParser struct {
|
||||
func (ep *NameParser) parse(p *PointParser, pt *Point) error {
|
||||
//Valid characters are: a-z, A-Z, 0-9, hyphen ("-"), underscore ("_"), dot (".").
|
||||
// Forward slash ("/") and comma (",") are allowed if metricName is enclosed in double quotes.
|
||||
// Delta (U+2206) is allowed as the first characeter of the
|
||||
// Delta (U+2206) is allowed as the first character of the
|
||||
// metricName
|
||||
name, err := parseLiteral(p)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user