Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
2afc2c2
feat(inputs.slurm): Add a SLURM input plugin
pcolladosoto Aug 1, 2024
1f29115
feat(inputs.slurm): Fix linter errors
pcolladosoto Aug 2, 2024
5581231
feat(inputs.slurm): Condense boolean into slice
pcolladosoto Aug 2, 2024
28a343a
feat(inputs.slurm): Fix remaining linter issues
pcolladosoto Aug 2, 2024
d2616c8
feat(inputs.slurm): Add link to LICENSE
pcolladosoto Aug 2, 2024
ed130f4
feat(inputs.slurm): Add URL as a tag
pcolladosoto Aug 2, 2024
37ed8d8
feat(inputs.slurm): Add trailing newline
pcolladosoto Aug 2, 2024
41b445d
feat(inputs.slurm): Remove domain and trim records
pcolladosoto Aug 5, 2024
9fca629
feat(inputs.slurm): Dereference records
pcolladosoto Aug 5, 2024
e5062f7
feat(inputs.slurm): Add Gather tests
pcolladosoto Aug 5, 2024
d830f24
feat(inputs.slurm): Add `panic()` recovery
pcolladosoto Aug 5, 2024
c67a94a
feat(inputs.slurm): Add explicitl `nil` checks
pcolladosoto Aug 6, 2024
4e43799
feat(inputs.slurm): Fix linter errors
pcolladosoto Aug 6, 2024
f05e2a2
feat(inputs.slurm): Fix linter issues
pcolladosoto Aug 6, 2024
ac2b45f
feat(inputs.slurm): Fix linter issue
pcolladosoto Aug 6, 2024
c38bb21
feat(inputs.slurm): Rename url to source
pcolladosoto Aug 6, 2024
427252e
feat(inputs.slurm): Use internal User-Agent
pcolladosoto Aug 6, 2024
64a51dd
feat(inputs.slurm): Rework client creation logic
pcolladosoto Aug 7, 2024
8a481c8
feat(inputs.slurm): Fix error handling in Gather()
pcolladosoto Aug 7, 2024
13b5da3
feat(inputs.slurm): Unexport internal gather funcs
pcolladosoto Aug 7, 2024
b35381f
feat(inputs.slurm): Fix default timeout condition
pcolladosoto Aug 7, 2024
d0486e2
feat(inputs.slurm): New metric gathering
pcolladosoto Aug 7, 2024
4797e2f
feat(inputs.slurm): New metric gathering
pcolladosoto Aug 7, 2024
9b6f764
feat(inputs.slurm): Enhance URL tests
pcolladosoto Aug 7, 2024
8fc95de
feat(inputs.slurm): Tweak error checking
pcolladosoto Aug 7, 2024
4feb62f
feat(inputs.slurm): Parse TRES fields
pcolladosoto Aug 7, 2024
9a5def7
feat(inputs.slurm): Fix linter issues
pcolladosoto Aug 7, 2024
bc8c1b1
feat(inputs.slurm): Enhance empty hostname error
pcolladosoto Aug 7, 2024
63ca276
feat(inputs.slurm): Bump goslurm version up
pcolladosoto Aug 7, 2024
2da1947
feat(inputs.slurm): Automatically add TLS options
pcolladosoto Aug 8, 2024
cfeb486
feat(inputs.slurm): Remove lingering conf
pcolladosoto Aug 8, 2024
b90417b
feat(inputs.slurm): Warn about TLS when using HTTP
pcolladosoto Aug 8, 2024
4739307
feat(inputs.slurm): Fix var scopes
pcolladosoto Aug 8, 2024
ab4d126
feat(inputs.slurm): Close response bodies ASAP
pcolladosoto Aug 8, 2024
493779f
feat(inputs.slurm): Func prototype on a single line
pcolladosoto Aug 8, 2024
8d4190b
feat(inputs.slurm): Re-add conf (whoops)
pcolladosoto Aug 8, 2024
d584d90
feat(inputs.slurm): Fix linter issues
pcolladosoto Aug 8, 2024
6096a88
feat(inputs.slurm): Func prototype on a single line
pcolladosoto Aug 8, 2024
d477095
feat(inputs.slurm): Fix timeout configuration
pcolladosoto Aug 9, 2024
a5c910f
feat(inputs.slurm): Leverage t.Run() w/ tweaks
pcolladosoto Aug 9, 2024
f943d9d
feat(inputs.slurm): Switch to enabled inputs logic
pcolladosoto Aug 9, 2024
34d2a7b
Apply suggestions from code review
pcolladosoto Aug 9, 2024
24e01e4
feat(inputs.slurm): Rework testing structure
pcolladosoto Aug 12, 2024
ab5b932
feat(inputs.slurm): Just parse float64 on TRES
pcolladosoto Aug 12, 2024
3378da5
Check enabled endpoints to catch typos
pcolladosoto Aug 14, 2024
ed20b4d
feat(inputs.slurm): Fix endpoint checks
pcolladosoto Aug 14, 2024
dacf8cb
feat(inputs.slurm): Less allocations & scope fix
pcolladosoto Aug 14, 2024
8cbbde4
Update plugins/inputs/slurm/slurm.go
srebhan Aug 14, 2024
3b5a534
feat(inputs.slurm): Add support for the P suffix
pcolladosoto Aug 14, 2024
96e6a42
feat(inputs.slurm): Preallocate tags and records
pcolladosoto Aug 14, 2024
e734140
feat(inputs.slurm): Update endpoints comment
pcolladosoto Aug 14, 2024
8d7316f
Merge branch 'master' of pcolladosoto/telegraf
pcolladosoto Aug 14, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(inputs.slurm): Update endpoints comment
  • Loading branch information
pcolladosoto committed Aug 14, 2024
commit e7341403442c7e4a21992983a2d2d634b52a9c17
6 changes: 2 additions & 4 deletions plugins/inputs/slurm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
# token = "topSecret"

## Enabled endpoints
## List of endpoints a user can acquire data from. Available
## values are: diag, jobs, nodes, partitions, reservations.
## Please note incorrect endpoints will be silently ignore and
## that endpoint names are case insensitive.
## List of endpoints a user can acquire data from.
## Available values are: diag, jobs, nodes, partitions, reservations.
# enabled_endpoints = ["diag", "jobs", "nodes", "partitions", "reservations"]

## Maximum time to receive a response. If set to 0s, the
Expand Down
6 changes: 2 additions & 4 deletions plugins/inputs/slurm/sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
# token = "topSecret"

## Enabled endpoints
## List of endpoints a user can acquire data from. Available
## values are: diag, jobs, nodes, partitions, reservations.
## Please note incorrect endpoints will be silently ignore and
## that endpoint names are case insensitive.
## List of endpoints a user can acquire data from.
## Available values are: diag, jobs, nodes, partitions, reservations.
# enabled_endpoints = ["diag", "jobs", "nodes", "partitions", "reservations"]

## Maximum time to receive a response. If set to 0s, the
Expand Down
6 changes: 2 additions & 4 deletions plugins/inputs/slurm/sample.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
# token = "topSecret"

## Enabled endpoints
## List of endpoints a user can acquire data from. Available
## values are: diag, jobs, nodes, partitions, reservations.
## Please note incorrect endpoints will be silently ignore and
## that endpoint names are case insensitive.
## List of endpoints a user can acquire data from.
## Available values are: diag, jobs, nodes, partitions, reservations.
# enabled_endpoints = ["diag", "jobs", "nodes", "partitions", "reservations"]

## Maximum time to receive a response. If set to 0s, the
Expand Down