Commit Graph

24 Commits

Author SHA1 Message Date
Christian W. Zuckschwerdt
da6974e46d minor: Fix http api get_protocols buffer length 2025-01-30 00:00:50 +01:00
Christian W. Zuckschwerdt
568b3abd6d Fix Prometheus exposition format for metrics endpoint (#3107)
Co-authored-by: Rick van Schijndel <Mindavi@users.noreply.github.com>
2024-12-03 00:05:28 +01:00
Christian W. Zuckschwerdt
322e04ff2d minor: Add some comments 2024-10-16 03:42:39 +02:00
Christian W. Zuckschwerdt
0dbbe819c7 Add OpenMetrics/Prometheus API (#2863) 2024-03-16 12:14:00 +01:00
Christian W. Zuckschwerdt
e202e85efa minor: Change Static analysis to GCC13.2+ (closes #2700) 2023-10-29 14:06:41 +01:00
Christian W. Zuckschwerdt
a76f169fe7 minor: Add static analysis exceptions 2023-10-21 20:36:47 +02:00
Christian W. Zuckschwerdt
96226b5a77 minor: Add GCC Static analysis (closes #1372) 2023-10-21 19:55:41 +02:00
Christian W. Zuckschwerdt
cd3c34e9a6 minor: Fix free http_server_context on stop 2023-03-18 21:53:53 +01:00
obones
ecb0b361ad Change r_device.fields to constant pointer (#2421)
Allows for static "output_fields" to be stored in readonly memory on embedded architectures.
2023-03-13 16:01:29 +01:00
obones
88ae8f8473 Change literals to string const for strict discarded-qualifiers warnings (#2379)
- Change hard coded strings are "const" so any variable pointing to them must also have the const specifier to avoid a warning (from -Wdiscarded-qualifiers)
- Change local variables manipulating constant strings must also have the const qualifier
- Change hostport_param, fix remaining hostport_param args

Co-authored-by: Christian W. Zuckschwerdt <christian@zuckschwerdt.org>
2023-02-15 22:12:18 +01:00
Christian W. Zuckschwerdt
0ff7247336 Add output log level options (#2282) 2022-12-19 18:44:29 +01:00
Christian W. Zuckschwerdt
5859317262 Change more fprintf to log prints 2022-12-07 09:36:45 +01:00
Christian W. Zuckschwerdt
81f846ff5d Change fprintf to log prints (#2266) 2022-12-04 12:13:29 +01:00
Christian W. Zuckschwerdt
d67ee968e1 minor: Fix MSVC build 2022-04-24 12:43:12 +02:00
Christian W. Zuckschwerdt
f7e4d18436 minor: Fix and update Windows build 2022-04-22 15:59:38 +02:00
obones
045b444c8c Fix: make sure fprintf uses an unsigned marker when an unsigned value is given (#1872) 2021-11-15 14:52:57 +01:00
Christian W. Zuckschwerdt
6c8af75c75 minor: Fix stricter compiler warnings 2021-11-13 13:55:49 +01:00
Christian W. Zuckschwerdt
35c43db86f minor: Fix http get_protocols size 2021-07-16 10:54:57 +02:00
Romeo
66bb01f80e minor: Add HTML Encoding to UTF8 (#1756) 2021-07-10 15:13:25 +02:00
Christian W. Zuckschwerdt
ad55a5351d Fix exit if http server can't start 2021-03-10 13:51:43 +01:00
Christian W. Zuckschwerdt
c76d5e6960 Fix http redirect to index for Chrome 2021-02-21 11:51:41 +01:00
Christian W. Zuckschwerdt
914552b94a minor: fix http redirect delay 2021-02-12 12:05:52 +01:00
Christian W. Zuckschwerdt
c07c2bd234 Add raw pulse printing mode 2021-01-22 10:55:26 +01:00
Christian W. Zuckschwerdt
7196a2c264 Add http server (#871) 2020-11-10 15:22:58 +01:00