Christoph Kluge
641affbbdf
Move /search code to routerConfig, add simple docs for searchbar
2023-02-09 10:11:11 +01:00
Christoph Kluge
94523150f5
Fix small typo
2023-02-01 15:46:50 +01:00
Christoph Kluge
ef1b2d7a81
Fix typo
2023-02-01 12:29:58 +01:00
Christoph Kluge
a885e69125
Adapt loglevel for logs, shorten strings, fix formats, streamline
...
- Switched to Warn for most errors, reduces bloat, improves log control
2023-02-01 11:58:27 +01:00
Christoph Kluge
b77bd078e5
Add log messages to error events w/o log message, primaryly error level
...
- "log spam" to be controlled via loglevel flag on startup
2023-01-31 18:28:44 +01:00
Christoph Kluge
186c8f7311
Fix user display configrations not persisting in SQLite table
...
- Was missing user.username key
2023-01-30 14:33:12 +01:00
Christoph Kluge
25eb3bb481
Add missing dependency
2023-01-24 12:03:36 +01:00
Christoph Kluge
bd770d0e32
Fix return error, fix wrong log path, add notice log where applicable
...
- Adresses issue #26
2023-01-24 12:02:29 +01:00
Christoph Kluge
79a949b55e
Rework pkg/log, add 'loglevel' and 'logdate' flags, streamline
...
- removes some previously added manual location strings: now handled by pkg/log depending on loglevel
- kept manual string locations on fmt print functions
- add 'notice' and 'critical' loglevels
- add 'Panic' and 'Panicf' functions to log panics
- adresses issue #26
2023-01-23 18:48:06 +01:00
Christoph Kluge
25286ff068
Small addition to page-config infolog
...
- Adresses issue #26
2023-01-20 09:58:16 +01:00
Christoph Kluge
1ec543daf6
Add log location string to main.go
...
- Adresses issue #26
2023-01-20 09:49:17 +01:00
Christoph Kluge
24a4244f19
add more information to existing errors logs and panics
...
- '$ROOT/$FILE' for better localization in the code
- add text where none was given
- fix unnecessary sprintf nesting in influxv2 and prometheus metricrepo logging
2023-01-19 16:59:14 +01:00
Christoph Kluge
5abd3641b2
Move bootstrap and bootstrap-icon to local instances
2023-01-19 09:37:18 +01:00
Christoph Kluge
81e17771fd
Fix roofline component not rendering in jobview if missing data
...
- Addresses issue #70
2023-01-18 14:06:32 +01:00
Christoph Kluge
996e68ff30
Truncate long jobNames
...
- Solves issue #79
2023-01-12 12:33:21 +01:00
Christoph Kluge
2527a351b8
Trim spaces from search-query strings and tags
...
- Relates to issue #78
2023-01-12 12:11:58 +01:00
Christoph Kluge
7998577076
Remove metadata from scanJob
...
- Leftover from initial jobName query implementation tryouts: unnecessary
2023-01-12 11:57:44 +01:00
Christoph Kluge
84a1c4bdaf
fix wrong vartype for log
2023-01-12 11:34:21 +01:00
Christoph Kluge
bad3f9ea95
Makeover of searchbar, add "not found" results-redirects
...
- Tagged Search has priority
- Best guess search if no tag provided
- "Hard" errors only on searchtag-malformed or searchtag-unknown, or if best guess search fails
2023-01-12 11:26:01 +01:00
Christoph Kluge
a5298a3630
updated gofiles
2023-01-11 16:26:08 +01:00
Christoph Kluge
a642e9cc7c
Add working, but manually entered jobName url query
2023-01-11 16:25:02 +01:00
Christoph Kluge
c9ee8b552d
Rework search to show jobId matches in table, add projectId search
2022-12-14 10:02:22 +01:00
Christoph Kluge
ac8548a950
Initial orientation
2022-12-13 09:53:37 +01:00
Christoph Kluge
a39fc73345
Rerun swagger and fix typo
2022-11-30 12:40:07 +01:00
Christoph Kluge
21b03d02b2
Swagger definition URL now based on config.json Addr field
2022-09-27 10:33:36 +02:00
Christoph Kluge
d405f0da41
Fix leftover local dev address
2022-09-27 10:02:01 +02:00
Christoph Kluge
24f9d4f934
Add buildInfo to frontend footer
2022-09-27 09:56:17 +02:00
Christoph Kluge
c9184a7575
Move identical parts of stopJob routines to new function
...
- No solution for two swagger doc annotations for one function (ie function handles two inputs) found
- Also: Delete handwritten openapi.yaml
2022-09-23 11:59:18 +02:00
Christoph Kluge
b96c515c2c
Small additions to 'getJobs' API docs
2022-09-22 13:32:40 +02:00
Christoph Kluge
93713edcac
Add '401 unauthorized' to api docs
2022-09-21 17:13:55 +02:00
Christoph Kluge
872bc77708
Add missing error codes to documentation, fix wrong success type
2022-09-21 17:03:01 +02:00
Christoph Kluge
6712b15034
Better represent 'exclusiveMinimum' from JSON schemata
2022-09-21 14:21:13 +02:00
Christoph Kluge
94c77d8a67
Small additions to swagger docs
2022-09-21 14:12:24 +02:00
Christoph Kluge
05a84cb95c
Extend parsed swagger documentation by adding comments
2022-09-21 11:54:19 +02:00
Christoph Kluge
9f9462496a
Move swagger comment from TagJobApiRequest to Tag
2022-09-16 13:18:50 +02:00
Christoph Kluge
705f76fa3a
Remove GitHub merge comment lines
2022-09-16 10:12:37 +02:00
Christoph Kluge
922e94e835
Fix API data types, use unsecured router for /docs
...
- Note: Use /docs swagger playground without login
- Otherwise: Session User will be used which leads to role mismatch
2022-09-15 17:38:11 +02:00
Christoph Kluge
8e90c954ff
First commit for swagger api documentation, not yet fully functional
...
- Problems with JWT auth (eg startJob fails with missing role)
- Manually fixed auto-parsing errors (missing api.TagJobApiRequest, wrong API @Description)
2022-09-15 12:37:44 +02:00
Christoph Kluge
0170e19363
Added options for "support" role on user create, role add, role edit
2022-09-12 18:05:43 +02:00
Christoph Kluge
802c10588f
Completely replace outdated template config rendering
...
- Deleted respective old files
- Renamed new components
2022-09-09 15:27:00 +02:00
Christoph Kluge
d351a043c2
Omit submit on colorscheme selection: now updates directly on select
2022-08-26 15:28:04 +02:00
Christoph Kluge
87ce3c3e8e
Update card title
2022-08-26 15:21:37 +02:00
Christoph Kluge
c9954787c1
Add admin function to remove roles, rename addroles to editroles
2022-08-26 15:15:36 +02:00
Christoph Kluge
0186e886e4
Display go-set error messages, move html error text to log (commented)
2022-08-26 13:52:45 +02:00
Christoph Kluge
7bfdc83779
Initial commit on branch: Rewrite config.tmpl as svelte component(s)
2022-08-26 11:45:14 +02:00
Christoph Kluge
c28604b524
Fix LoadNodeData definition for influxv2client
2022-03-29 15:53:44 +02:00
Christoph Kluge
18ed5c8839
Remove legacy from metricrepo kind switchcase
2022-03-29 15:32:53 +02:00
Christoph Kluge
107fe24f78
Remove legacy query syntax influx client
2022-03-24 10:52:05 +01:00
Christoph Kluge
255eceba48
Reduce logging on wrong float assertion
2022-03-22 15:48:34 +01:00
Christoph Kluge
9f3a304a02
Fix merge artifacts
2022-03-22 11:13:11 +01:00
Christoph Kluge
2811136fd4
Merge branch 'master' into add-influxdb2-client
2022-03-22 11:10:32 +01:00
Christoph Kluge
830019e67f
Moved influx value verification to rows loop
2022-03-22 10:59:24 +01:00
Christoph Kluge
e4730a16eb
Correct return of node data, revised code
...
-Scopes socket and core added as switch cases, only barebone
2022-03-21 16:08:16 +01:00
Christoph Kluge
686e5eaa0e
Fix loop definition
2022-03-21 14:14:48 +01:00
Christoph Kluge
b87cc767c7
Better basic scope handling, handle float64 assertion errors
2022-03-21 13:36:19 +01:00
Christoph Kluge
622239b90c
Return node scope instead of throwing error
2022-03-21 11:18:31 +01:00
Christoph Kluge
c1acabae07
Correct return of node data from higher granularity in influxdb source
2022-03-21 10:10:47 +01:00
Christoph Kluge
7632f10f2b
Add separate influxrepo for legacy clusters
...
-Reasons include legacy flux queries and bucket definitions
2022-03-18 12:57:57 +01:00
Christoph Kluge
ed18df2ecf
Adapt new rawConfig unmarshal for influxdbclient
2022-03-18 11:40:42 +01:00
Christoph Kluge
cad68362fe
Update Subproject
2022-03-17 16:18:33 +01:00
Christoph Kluge
3f65065874
Start implementing improved MetricDataRepository configuration
2022-03-17 16:15:35 +01:00
Christoph Kluge
3e0de24307
Test Commit on Github Error
2022-03-17 15:56:45 +01:00
Christoph Kluge
25abd70f7c
Update test.yml
2022-03-17 10:51:27 +01:00
Christoph Kluge
df191a32d2
Add error return for new line protocol
2022-03-16 17:28:05 +01:00
Christoph Kluge
9d9e4022d8
Improved time formatting
2022-03-16 11:58:57 +01:00
Christoph Kluge
4ea688817e
Fix stats assignments
...
-Frontend now renders plots correctly
2022-03-16 11:42:28 +01:00
Christoph Kluge
a26f78929b
Init StatsSeries as nil
...
-Frontend now shows metric plots
2022-03-16 09:56:38 +01:00
Christoph Kluge
1044406225
Add updated requirement files
2022-03-16 09:45:48 +01:00
Christoph Kluge
a6cf3dd49b
Initial rework of existing influxdb2 client
...
-Fixes generally outdated method definitions
-Fixes stoptime calculation
2022-03-15 18:35:27 +01:00