influxdb/services
Ayan George 6ce0e11738
feat: Collect values written stats (#19187)
* feat(engine/tsm1): Add WritePointsWithContext()

Add WritePontsWithContext() and make WritePoints() a thin wrapper for
it.

The purpose is to add statistics context values that we'll use to
propagate the number of fields and points written to calls up the call
chain.

* feat(tsdb): Add WriteToShardWithContext()

When applied, this patch adds WriteToShardWithContext() and wraps it
with WriteToShard() to preserve the API.

The the purpose of this addition is to propagate a context.Context value
to Shard.WritePointsWithContext().

* feat(tsdb/shard): Add WritePointsWithContext()

The purpose of adding WritePointsWithContext() is to propage context
values down to engine code and propage statistics via the context.Value
up to callers.

This patch also adds values written statistics to the shard.

* feat(http): Gather values written stats

WritePointsWithContext() was added to propagate context values down to
the engine and communicate stats to the caller.

* feat(http): Gather values written stats

WritePointsWithContext() was added to propagate context values down to
the engine and communicate stats to the caller.

* refactor: Change MetricKey to ContextKey

This patch gives the type we're useing for context keys a better name.
2020-08-12 11:26:12 -04:00
..
collectd Fix typos (#11494) 2019-02-21 08:28:01 -08:00
continuous_querier Fix #10261 ABS(int64) 2018-09-11 21:53:44 +01:00
graphite refactor: Change ToLower comparisons to EqualFold (#18147) 2020-05-18 19:46:59 -04:00
httpd feat: Collect values written stats (#19187) 2020-08-12 11:26:12 -04:00
meta refactor: Change ToLower comparisons to EqualFold (#18147) 2020-05-18 19:46:59 -04:00
opentsdb implement using tls configuration 2018-08-02 14:29:07 -06:00
precreator Update logging calls to take advantage of structured logging 2018-02-20 10:04:19 -06:00
retention Ensure go fmt passes on 1.10/11 2018-08-21 17:39:42 +01:00
snapshotter fix(snapshotter): properly read payload (#17495) 2020-03-31 12:19:25 -04:00
storage Remove a debugging println call (#14297) 2019-07-10 11:47:24 -05:00
subscriber implement using tls configuration 2018-08-02 14:29:07 -06:00
udp Update example config with UDP precision option 2018-07-09 10:07:05 -07:00