59 Commits

Author SHA1 Message Date
Gregor Jasny 5699348faa feat(cmake): Generate pkg-config files
Fixes: #447
2021-03-04 21:15:31 +01:00
Gregor Jasny f448b2c3de feat(iwyu): Organize includes with include-what-you-use 2021-03-03 22:11:10 +01:00
Gregor Jasny 6b4ec6eff1 Merge pull request #429 from jupp0r/fix-leaking-weak-pointers
pull: Remove expired weak pointers to avoid leak
2020-12-14 22:36:10 +01:00
Gregor Jasny c71ae77cf3 push: Remove expired weak pointers to avoid leak 2020-12-14 21:58:51 +01:00
Gregor Jasny acab56c808 chore: re-format with clang-format 11 2020-12-14 20:05:20 +01:00
Gregor Jasny 9012fab115 push: slightly refactor gateway 2020-09-28 11:49:02 +02:00
Gregor Jasny 823b40628d formatting 2020-09-28 11:49:02 +02:00
technicianted 7175a1bfa0 Use mutex to protect http operation 2020-09-24 17:50:09 -07:00
technicianted acb900339e Use indirection to avoid curl include 2020-09-18 18:21:39 -07:00
technicianted cfe7f64349 Reuse curl handle 2020-09-18 16:34:24 -07:00
Gregor Jasny fa6299d771 chore: use imported CMake curl target 2020-03-20 20:30:15 +01:00
Gregor Jasny 5a3ee66c7e fix(symbols): Fix Windows and Bazel symbol visibility 2019-10-18 23:19:17 +02:00
Gregor Jasny 70a1cfd60a Merge pull request #305 from jupp0r/code-format
Code format
2019-10-18 09:04:13 +02:00
Gregor Jasny c216ae7ae9 chore(clang-format): Format everything 2019-10-17 18:13:24 +02:00
Gregor Jasny 815bfb9b29 chore(bazel): Use local_defines instead of copts 2019-10-17 17:58:31 +02:00
Gregor Jasny b6a1b4c2fc Implement symbol visibility build system agnostic
Issue: #223
2019-08-31 19:55:13 +02:00
Gregor Jasny 538ed3af0d Add (shared) library versioning
Closes: #223
2019-08-31 18:21:11 +02:00
matthew a34ead7027 include fixes 2019-08-08 09:52:41 -07:00
Gregor Jasny 87e024bd42 push: Print push return code in example 2019-06-08 21:18:56 +02:00
Gregor Jasny f06970ff07 push: allocate body on the heap 2019-05-06 21:51:58 +02:00
Gregor Jasny 5d7f4b287e push: Pass method, uri, body by value
Closes: #272
2019-05-06 21:25:21 +02:00
Gregor Jasny 19125a480b push: Forward libcurl errors to caller 2019-05-06 21:04:17 +02:00
Jupp Mueller 236b125d52 Fix use after free in push gateway
Fixes #252
2019-02-12 14:52:13 -08:00
Gregor Jasny 4e0814ee3f Merge pull request #243 from jupp0r/refactor-gateway-ctor
Refactor gateway ctor
2018-12-15 16:11:32 +01:00
Gregor Jasny a7b3d24378 Refactor gateway ctor 2018-12-15 15:39:02 +01:00
Gregor Jasny 594c0a11f3 Uninline code from gateway 2018-12-15 15:14:57 +01:00
Jerry Crunctime e38d0206c9 Fix all warnings 2018-12-08 11:15:23 +01:00
Jerry Crunctime 4819fd542b Use io forward declarations in header 2018-11-17 14:02:45 +01:00
Jerry Crunctime 52825ff7ca Apply clang-format 2018-11-17 14:02:13 +01:00
Gregor Jasny 3448ef0754 Breaking Change: Use recommended metric naming
The sample_server is now `promtool check`-clean.

See: https://prometheus.io/docs/practices/naming/

Issue: #89
2018-11-11 21:39:10 +01:00
Gregor Jasny 74353a8b3c Merge pull request #210 from jupp0r/no-system-libs-for-bazel
Do not rely on system libs for bazel
2018-11-04 18:36:22 +01:00
Gregor Jasny 91a0a7c1e2 bazel: link against pthread for Unix platforms 2018-11-04 18:04:30 +01:00
Gregor Jasny d93d9492f2 bazel: fetch curl as external library 2018-11-04 17:07:26 +01:00
Gregor Jasny 1d38a0a37d CMake: Use imported Threads::Threads library 2018-11-04 12:35:50 +01:00
Gregor Jasny 77790db606 push: Replace cpr with plain libcurl 2018-11-03 20:21:14 +01:00
Gregor Jasny 69e62780e7 Bazel: Also build shared libraries
Issue: #181
2018-11-03 17:57:16 +01:00
Jerry Crunctime 0915abce44 Clean third-party CMake files 2018-11-03 09:28:53 +01:00
Gregor Jasny 6783522377 push: Use performHttpRequest for all HTTP operations
That allows to use authentication also for Delete
2018-10-31 22:30:04 +01:00
Gregor Jasny ade31ca133 push: Refactor into prepareSession and getUrl 2018-10-31 22:26:34 +01:00
Gregor Jasny a9fe64109e push: Simplify delete operations 2018-10-31 22:01:17 +01:00
Gregor Jasny 1c7eb75b70 push: Ensure all futures were executed 2018-10-31 22:00:52 +01:00
Gregor Jasny 2f61ba4ab8 Revert unintentional bazel changes 2018-10-25 21:02:13 +02:00
Gregor Jasny 09c4ba1188 core: add missing include 2018-10-25 20:51:46 +02:00
Jerry Crunchtime e0502287ee Include what is used 2018-10-25 14:48:14 +02:00
Gregor Jasny 482de05a44 Merge pull request #163 from jupp0r/ranged-insert
Use ranged insert for metrics collection
2018-10-24 21:43:41 +02:00
Jerry Crunchtime 354e4216ed Refactor CMake 2018-10-19 16:42:23 +02:00
Gregor Jasny e70ced1b31 Use ranged insert for metrics collection 2018-10-14 18:46:43 +02:00
Gregor Jasny d820e0c710 Use external cpr when requested 2018-10-13 14:08:09 -04:00
Gregor Jasny 0f1949830e Rename 3rdparty package config files 2018-09-25 23:57:44 +02:00
Mateusz Piotrowski 9a2e69e4a3 Spell "dimenstions" right 2018-09-14 15:04:14 +02:00