Skip to content

Commit

Permalink
Merge pull request #129 from BrotifyPacha/fix-typos-in-readme
Browse files Browse the repository at this point in the history
Fixes typos and miss-written sentences in README.md
  • Loading branch information
dewey authored Jun 28, 2024
2 parents 9fc7266 + ebe3f56 commit 00dc6fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ model assigns exactly one `float` to a metric, possibly further identified by a
set of zero or more labels. These labels need to be of type `string` or `text`.

If your SQL dialect supports explicit type casts, you should always cast your
label columns to `text` and the metric colums to `float`. The SQL exporter will
label columns to `text` and the metric columns to `float`. The SQL exporter will
try hard to support other types or drivers w/o support for explicit cast as well,
but the results may not be what you expect.

Expand All @@ -116,7 +116,7 @@ For a more realistic example please have a look at [examples/kubernetes/configma
---
# jobs is a map of jobs, define any number but please keep the connection usage on the DBs in mind
jobs:
# each job needs a unique name, it's used for logging and as an default label
# each job needs a unique name, it's used for logging and as a default label
- name: "example"
# interval defined the pause between the runs of this job
interval: '5m'
Expand All @@ -134,7 +134,7 @@ jobs:
- 'SET idle_in_transaction_session_timeout = 100'
# queries is a map of Metric/Query mappings
queries:
# name is prefied with sql_ and used as the metric name
# name is prefixed with sql_ and used as the metric name
- name: "running_queries"
# help is a requirement of the Prometheus default registry, currently not
# used by the Prometheus server. Important: Must be the same for all metrics
Expand All @@ -153,7 +153,7 @@ jobs:
# of type float
values:
- "count"
# Query is the SQL query that is run unalterted on the each of the connections
# Query is the SQL query that is run unalterted on each of the connections
# for this job
query: |
SELECT now() as created_at, datname::text, usename::text, COUNT(*)::float AS count
Expand Down

0 comments on commit 00dc6fd

Please sign in to comment.