dongjiang
18265de80e
feat: support scrape_protocols for GlobalConfig and ScrapeConfig ( #6235 )
...
* support scrape_protocols for GlobalConfig and ScrapeConfig
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-01-22 15:09:02 +01:00
Jayapriya Pai
57e4f8f576
feat: add support for DigitalOcean SD ( #6220 )
...
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-01-19 17:00:55 -03:00
dongjiang
f6f1b60239
feat: support enable_compression
for ScrapeConfig ( #6236 )
...
* support enable_compression setting
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-01-16 15:14:48 +01:00
Jayapriya Pai
b2863a485f
feat: add support for remaining fields in Kubernetes SD ( #6178 )
...
* feat: add support for remaining fields in Kubernetes SD
Fixes #6087
---------
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-01-11 16:50:51 +00:00
Simon Pasquier
b5bbe3b4d2
chore: fix field name to comply with conventions
...
The Kubernetes API conventions say:
> All letters in the acronym should have the same case, using the
> appropriate case for the situation.
Since no release includes the field yet, it's ok to change the name.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-01-11 16:47:03 +01:00
Arthur Silva Sens
9a34675cfe
Add scale subresource to Prometheus/PrometheusAgent ( #5962 )
...
* Add scale subresource to Prometheus/PrometheusAgent
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Add retry mechanism when updating Status subresource
The goal is to allow the new Prometheus-Operator version to run even with outdated CRDs.
It will try to update the Status subresource and also Scale subresource. If it fails, it will retry but without Scale-related fields.
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Create function to generate selector labels
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Add UpdateScale and GetScale methods (#6197 )
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2024-01-11 11:34:55 -03:00
Hervé Nicol
d8ea7da1a5
Add support for enableHttp2 in prometheus remotewrite ( #6192 )
...
---------
Co-authored-by: Herve Nicol <12008875+hervenicol@users.noreply.github.com>
2024-01-02 13:26:06 +00:00
Simon Pasquier
c2dd54ae9d
chore: bump Kubernetes modules to v0.29.0 ( #6184 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-12-22 10:23:43 +00:00
Tommy Sauer
cb53421441
dedicated field for cluster_label ( #6162 )
...
* dedicated field for cluster_label
fixes #6158
---------
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
2023-12-20 16:56:20 +01:00
Nicolas Takashi
01765e5a76
chore: Adding StartupProbeTimeoutSeconds to Prometheus CRD ( #6137 )
...
---------
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2023-12-19 14:12:42 +01:00
Jayapriya Pai
4d53cde2af
feat: add OpenStack SD support in ScrapeConfig
...
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-12-19 08:30:00 +05:30
Simon Pasquier
bde3ef3708
Merge pull request #6149 from simonpasquier/flag-deprecated-fields
...
chore: mark deprecated fields correctly
2023-12-11 10:40:46 +01:00
Simon Pasquier
59e824d2ce
chore: mark deprecated fields correctly
...
This change ensures that deprecated CRD fields are properly commented
which make them reported by Go linters.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-12-08 10:14:58 +01:00
Nicolas Takashi
0d91832394
Add additionalLabels
field to TopologySpreadConstraint ( #5967 )
...
---------
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2023-12-07 11:48:27 +01:00
Adin Hodovic
3014870986
feat(scrapeConfig): Add proxy settings support for the ScrapeConfig CRD ( #6001 )
...
Signed-off-by: adinhodovic <hodovicadin@gmail.com>
2023-12-06 18:19:06 +00:00
Simon Pasquier
9fe4c212cb
Merge pull request #6117 from simonpasquier/add-tlsconfig-tests
...
chore: add ResourceSelector tests for TLS configuration
2023-12-06 15:02:05 +01:00
Simon Pasquier
ffd2f20e64
Merge pull request #5690 from simonpasquier/reload-via-signal
...
feat: enable config reload via signal
2023-11-27 12:01:41 +01:00
Simon Pasquier
a143c8da5d
feat: enable config reload via signal
...
This commit adds the option to reload Prometheus configuration using
signal instead of the /-/reload endpoint.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-11-27 11:17:10 +01:00
Alec
1ffc4fe39e
Pushover device support ( #5479 )
...
* Enable pushover device support
---------
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2023-11-27 11:02:26 +01:00
dongjiang1989
74ed6e2acd
update documentation
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2023-11-27 11:30:03 +08:00
Simon Pasquier
24de3672fc
chore: add ResourceSelector tests for TLS configuration
...
We lacked unit tests exercising the ServiceMonitor selection. The commit
also refactors the error messages to make them more informative.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-11-24 11:53:28 +01:00
dongjiang
712a2c1664
feat: add track_timestamps_staleness limit to CRDs ( #6105 )
...
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2023-11-22 14:44:09 +01:00
Simon Pasquier
2d53c246eb
Merge pull request #6104 from simonpasquier/update-podmon-api-doc
...
chore: update PodMonitor documentation
2023-11-17 16:00:15 +01:00
Simon Pasquier
b6b6e29a70
Merge pull request #6037 from adinhodovic/add-azuread-oauth
...
feat: Add azuread oauth support to remote write
2023-11-17 15:26:10 +01:00
Simon Pasquier
49630bdeed
chore: update PodMonitor documentation
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-11-17 15:18:44 +01:00
adinhodovic
7f22f69a42
feat: Add azuread oauth support to remote write
...
Signed-off-by: adinhodovic <hodovicadin@gmail.com>
2023-11-17 13:11:07 +01:00
Simon Pasquier
b6610bb4e1
Merge pull request #6095 from simonpasquier/update-smon-api-doc
...
chore: update ServiceMonitor documentation
2023-11-16 20:07:22 +01:00
Simon Pasquier
89c2ce975c
chore: update ServiceMonitor documentation
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-11-16 16:50:37 +01:00
Simon Pasquier
259ea32dc2
Merge pull request #6009 from slashpai/gce_sd
...
feat: add GCE SD support in ScrapeConfig CRD
2023-11-16 16:20:50 +01:00
Jayapriya Pai
6624457b38
feat: add GCE SD support in ScrapeConfig CRD
...
Fixes #6079
Related-to #5509
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-11-16 19:37:45 +05:30
Jayapriya Pai
10a8a796a6
change: update json tags for ConsulSD configs
...
some of the json tags were not following
Kubernetes conventions
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-11-16 18:48:03 +05:30
Jayapriya Pai
8033a10497
feat: add support for Azure SD in ScrapeConfig CRD
...
Fixes #6077
Related-to #5509
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-11-16 09:26:24 +05:30
Simon Pasquier
b1c1a03a2b
Merge pull request #6089 from slashpai/kubesd
...
feat: support remaining roles in kubernetesSD
2023-11-15 16:10:14 +01:00
Jayapriya Pai
399b6bdea8
feat: support remaining roles in kubernetesSD
...
add service, pod, endpoints, endpointslice and ingress roles
to KubernetesSDConfigs in ScrapeConfig CRD
Fixes #6086
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-11-14 19:24:13 +05:30
Adin Hodovic
c0f9cef3fa
feat: Add support for configuring STS persistentVolumeClaimRetentionPolicy ( #6038 )
...
Signed-off-by: adinhodovic <hodovicadin@gmail.com>
2023-11-14 09:41:40 -03:00
Pranshu Srivastava
45185c8d5c
docs: overriding behavior for common labels ( #5699 )
...
* docs: overriding behavior for common labels
Document overriding behavior for common labels in,
* alertmanager,
* prometheus, and,
* thanos-ruler.
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
* Regenerate Documentation/api/md
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
---------
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2023-11-03 11:26:29 +00:00
Simon Pasquier
fca0075e71
Merge pull request #6053 from slashpai/node-discovery
...
feat: support Selectors field in kubernetes SD
2023-11-03 11:12:29 +01:00
Jayapriya Pai
c2fe7a81fb
feat: support Selectors field in kubernetes SD
...
Related-to #5711
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-11-03 07:06:11 +05:30
Simon Pasquier
7146eeb18a
Merge pull request #6036 from heylongdacoder/issue-6033
...
prometheus: Add AWS sigv4 auth to Alertmanager endpoints
2023-10-31 15:39:05 +01:00
Wen Long
8cc54344f9
prometheus: Add AWS sigv4 auth to Alertmanager endpoints
...
Fixes : #6033
Signed-off-by: Wen Long <heylongdacoder@gmail.com>
2023-10-24 17:39:23 +08:00
Nicolas Takashi
a10b739fb3
feat: adding alertmanager msteams support ( #6002 )
...
* feat: adding alertmanager msteams support
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
Co-Authored-By: ksdpmx
2023-10-23 09:47:10 -03:00
Jayapriya Pai
5c45e5ed09
feat: add support for RoleARN and Filters in EC2SDConfigs ( #6012 )
...
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-10-22 14:43:51 +02:00
dongjiang
e3798b04c8
feat: support user_key_file
and token_file
to the pushover ( #5886 )
...
* dongjiang, add the user_key_file and token_file keys to the pushover config.
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* add PushoverConfig Sanitize
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* add PushoverConfig Sanitize
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* dongjiang, update by code review
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* fix unittest case
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* update unittest case
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* Update pkg/alertmanager/amcfg_test.go
fix misspell
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Update pkg/alertmanager/validation/v1beta1/validation_test.go
fix misspell
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* update code review case
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* add tabale unittest
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* Update pkg/alertmanager/amcfg_test.go
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Update pkg/alertmanager/amcfg_test.go
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Update pkg/alertmanager/amcfg_test.go
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Update pkg/alertmanager/amcfg_test.go
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Update pkg/alertmanager/amcfg_test.go
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* add unittest case by code review
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* Update pkg/alertmanager/amcfg_test.go
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Update pkg/alertmanager/amcfg_test.go
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
* fix golint
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
2023-10-06 15:41:03 -03:00
Mario Fernandez Herrero
5392c60549
docs: improve alertmanagerConfig description ( #5955 )
...
---------
Signed-off-by: Mario Fernandez <mariofer@redhat.com>
2023-10-03 15:21:43 +00:00
Wen Long
26a71aa741
prometheus: Add AzureAD for remote write
...
Fixes : #5783
Signed-off-by: Wen Long <heylongdacoder@gmail.com>
2023-09-22 11:57:55 +08:00
Jayapriya Pai
f16f1d75e7
feat: add EC2 service discovery support in ScrapeConfig ( #5902 )
...
Fixes #5818
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-09-20 17:36:05 -03:00
Lionel Nicolas
2916e21c88
Fix objec --> object typo
2023-09-13 21:43:24 +02:00
Jayapriya Pai
0a93915921
feat: add keep_dropped_targets limit to CRDs ( #5897 )
...
Fixes #5875
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-09-07 16:59:09 +00:00
Jayapriya Pai
51c3ea09d0
feat: add bot_token_file in TelegramConfig ( #5882 )
...
Fixes #5858
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-09-07 09:05:34 -03:00
Jayapriya Pai
4c6e75d59a
feat: Add dns_sd_configs to ScrapeConfig
...
Fixes #5862
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-09-01 17:56:56 +05:30