Paweł Żak
960a1f7b14
chore: Fix linter findings for prealloc (part3) ( #12246 )
2022-11-21 21:53:55 +01:00
Sebastian Spaink
d67f75e557
docs: Remove warning not to remove go:embed ( #11797 )
...
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers
8c49ddccc3
chore: update to go1.19.1 ( #11776 )
2022-09-08 12:49:36 -06:00
Joshua Powers
2fc19fa308
chore: correctly spell embed ( #11200 )
2022-05-27 07:13:47 -06:00
Sven Rebhan
56eb914998
chore: Embed sample configurations into README for inputs ( #11136 )
2022-05-24 08:49:47 -05:00
Joshua Powers
7d456d1773
fix: deprecate useless database config option ( #11044 )
2022-05-10 15:26:04 -06:00
Sebastian Spaink
b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) ( #10926 )
2022-04-11 16:32:25 -05:00
Alexander Krantz
e6cd83f1e7
feat: add option to disable prepared statements for PostgreSQL ( #9710 )
2021-12-22 13:29:53 -07:00
Paweł Żak
b9e4978b17
fix: Linter fixes for plugins/inputs/p* ( #10066 )
2021-11-15 09:14:09 -06:00
Eng Zer Jun
6a3b27126a
refactor: move from io/ioutil to io and os package ( #9811 )
2021-09-28 15:16:32 -06:00
Pascal Zimmermann
3ad40df311
Update pgx to v4 ( #9182 )
2021-06-02 21:28:16 -06:00
Sven Rebhan
9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} ( #8969 )
2021-04-09 13:15:04 -04:00
Sven Rebhan
8e7da355b3
Linter fixes (unhandled errors) -- Part 1 ( #8992 )
2021-04-08 11:43:39 -05:00
Paweł Żak
8a6907a186
Revive fixes - part 3 ( #8872 )
...
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Paweł Żak
ba66d4facb
Revive fixes - part 1 ( #8797 )
...
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Földi Tamás
0c99ae9e1d
Add timestamp column support to postgresql_extensible ( #8602 )
2021-01-11 13:53:44 -05:00
Josh Soref
2c56d6de81
Fix spelling errors in comments and documentation ( #7492 )
2020-05-14 00:41:58 -07:00
Greg
817c9a69a9
Document and add support to input plugins for logging alias ( #6357 )
2019-09-23 15:39:50 -07:00
Boris Popovschi
d717e8ea03
Add ability to read query from file to postgresql_extensible input ( #6361 )
2019-09-12 13:38:35 -07:00
Beaujolais !
69d21a5876
Fix version check in postgresql_extensible ( #4866 )
2018-10-30 15:06:47 -06:00
Greg
d3ad591481
Fix null value crash in postgresql_extensible input ( #4689 )
2018-09-18 09:08:13 -07:00
Loïc Blot
429d14101a
Add pgbouncer input plugin ( #3918 )
2018-08-01 16:44:10 -06:00
James
1d86064fb7
Use persistent connection to postgresql database ( #2701 )
2018-01-05 16:03:09 -08:00
James
837e6b1a32
Add additional numeric type handling tests for postgresql_extensible ( #3066 )
2017-09-25 10:58:10 -07:00
mced
501c22478e
[enh] set db_version at 0 if query version fails ( #2819 )
2017-05-18 13:52:56 -07:00
Patrick Hemmer
06baf7cf78
use AddError everywhere ( #2372 )
2017-04-24 11:13:26 -07:00
James
5ffc9fd379
fix postgresql connection leak ( #2611 )
2017-04-04 17:37:44 -07:00
James
b9ae3d6a57
fix postgresql 'name', and 'oid' data types by switching to a driver ( #1750 )
...
that handles them properly
2017-01-24 12:36:36 -08:00
Cameron Sparr
64a71263a1
Support Processor & Aggregator Plugins
...
closes #1726
2016-10-12 14:50:19 +01:00
Cameron Sparr
c7834209d2
Major Logging Overhaul
...
in this commit:
- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.
closes #1786
2016-10-03 17:13:03 +01:00
Patrick Hemmer
53e31cf1b5
Fix postgres extensible text ( #1601 )
...
* convert postgresql_extensible byte slice values to strings
* code cleanup in postgresql_extensible
2016-08-09 08:25:59 +01:00
Mika Eloranta
0367a39e1f
postgresql_extensible: custom address in metrics output
...
Allow overriding the the metrics "server" tag with the specified
value. Can be used to give a more user-friendly value for the server
name.
closes #1093
2016-04-25 16:33:35 -06:00
Mika Eloranta
1a7340bb02
postgresql_extensible: fix nil field values
...
nil field values would break the output influxdb line procotol.
Skip them from the output.
2016-04-25 16:33:33 -06:00
Mika Eloranta
ce7d852d22
postgresql_extensible: configurable measurement name
...
The output measurement name can be configured per query.
2016-04-25 16:33:33 -06:00
Hannu Valtonen
01b01c5969
postgresql_extensible: Censor also other security related conn params
...
While these aren't quite as sensitive as passwords, they do tend to be
long filesystem paths that shouldn't be reported along with
every measurement.
2016-04-25 16:33:33 -06:00
Cameron Sparr
e436b2d720
Cleanup & standardize config file
...
changes:
- -sample-config will now comment out all but a few default plugins.
- config file parse errors will output path to bad conf file.
- cleanup 80-char line-length and some other style issues.
- default package conf file will now have all plugins, but commented
out.
closes #199
closes #944
2016-04-01 10:59:53 -06:00
Thomas Menard
36446bcbc2
Remove the columns used as tag
...
closes #844
2016-03-18 11:25:04 -06:00
Thomas Menard
b371ec5cf6
Add the postgresql_extensible plugin
...
This plugin is intended to add an extended support of Postgresql
compared to the legacy postgres plugin.
Basically, the plugin don’t have any metrics defined and it’s up to the
user to define it in the telegraph.conf (as a toml structure).
Each query can have it’s specific tags, and can be written specifically
using a where clause in order to eventually filter per database name.
To be more generic, a minimum postgresql version has been defined per
query in case you have 2 different version of Postgresql running on the
same host.
2016-03-18 11:23:02 -06:00