Ha Anh Vu
156eb12da2
Support PodMonitor for Prometheus Agent in DaemonSet mode ( #6879 )
...
* Support PodMonitor for Prometheus Agent in DaemonSet mode
2024-09-18 10:34:42 +02:00
dongjiang
10ddb1fa74
feat: optimize []string annotation ( #6921 )
...
* optimize array string
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-09-11 10:56:38 +02:00
Simon Pasquier
264ac33e4c
Merge pull request #6903 from simonpasquier/reduce-e2e-test-timeouts
...
chore: reduce e2e test timeouts
2024-09-09 12:42:57 +02:00
Nicolas Takashi
366abca704
Merge remote-tracking branch 'origin/release-0.76' into merge-release-0.76
...
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com >
2024-09-03 17:00:43 +01:00
Simon Pasquier
3035f6eebe
chore: reduce e2e test timeouts
...
This change decreases all timeouts greater than 10 minutes.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-09-03 16:25:12 +02:00
Ashwin Sriram
bf3a738f8c
[Feat]: Add Ionos Service Discovery to ScrapeConfig CRD ( #6732 )
...
* Added Ionos SD configuration
2024-09-02 17:10:22 +02:00
M Viswanath Sai
8b110a62bb
FIX: K8S selector role regression ( #6896 )
...
* fix promcfg and update unit-test testcase
* add k8s selector as part of its e2e test
2024-09-02 13:16:56 +02:00
Ha Anh Vu
e7dd06566f
Allow Prometheus Agent to update, delete, and handle changes to DaemonSet object ( #6787 )
...
* Allow updating and deleting Prometheus Agent DaemonSet
2024-08-31 10:10:51 -03:00
M Viswanath Sai
511872f357
Refactor ScrapeConfigSpec ( #6855 )
2024-08-30 15:20:17 +02:00
mviswanathsai
2697e504fb
refactor http sd
2024-08-30 13:27:23 +05:30
M Viswanath Sai
242e32aa23
ScrapeConfig: Refactor FileSD ( #6869 )
2024-08-26 14:31:51 +02:00
mviswanathsai
e7e62984e7
split ScrapeConfig CRD API validations into sub-tests
2024-08-22 17:46:22 +05:30
mviswanathsai
d97533a7fa
refactor EC2 service discovery
2024-08-13 20:22:02 +05:30
perebaj
dda3e72b6e
replace go kit log in resource selector
2024-08-08 20:06:08 -03:00
Simon Pasquier
8f97358a75
Merge pull request #6784 from simonpasquier/endpoint-role-for-alerting
...
feat: use service endpoint role for alerting
2024-08-07 15:55:08 +02:00
Ashwin Sriram
5cac405eb3
Replace t.Fatal with require package in tests-e2e ( #6782 )
...
* Replace t.Fatal-> require package in tests-e2e
2024-08-07 11:41:57 +02:00
M Viswanath Sai
267f5f2067
Refactor DNS SD Config ( #6740 )
...
* refactor DNS SD
* add generic e2e tests for DNS API validations
2024-08-05 17:17:19 +02:00
Afzal Ansari
faeb1c8dee
feat: Add scale subresource to Alertmanger resource ( #6728 )
...
* Add scale subresource to Alertmanger resource
2024-08-05 16:22:29 +02:00
mviswanathsai
38900ced62
refactor k8s service discovery configurations
2024-08-05 10:51:22 +05:30
Simon Pasquier
620a2f0a03
feat: use service endpoint role for alerting
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-08-02 14:48:04 +02:00
YASH PATEL
50394cc8da
chore: set the namespace if empty for alertmanagers to the current na… ( #6338 )
...
* chore: set the namespace if empty for alertmanagers to the current namespace in Prometheus CR (#1078 )
---------
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
Co-authored-by: Simon Pasquier <spasquie@redhat.com >
2024-07-31 22:07:04 +05:30
Ha Anh Vu
6412481329
Allow Prometheus Agent operator to create DaemonSet ( #6708 )
...
* Allow Prometheus Agent operator to create DaemonSet
2024-07-31 16:04:53 +02:00
Simon Pasquier
309b7d06ad
chore: add RBAC for endpointslices to Prometheus SA
...
This change also adds e2e tests for the new EndpointSlice discovery
role.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-07-25 14:28:22 +02:00
Arthur Silva Sens
3709681727
chore: Add feature-gated tests to CI
...
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com >
2024-06-12 11:22:34 -03:00
Arthur Silva Sens
5bd0d839f9
Merge pull request #6621 from prometheus-operator/featuregate-testframework
...
e2e/framework: Allow setting feature-gates when creating Prometheus-Operator
2024-05-29 11:10:26 -03:00
Simon Pasquier
677c2d565f
chore: fix testScrapeConfigKubernetesNodeRole()
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-05-29 09:49:15 +02:00
haanhvu
0f4df7039f
Make a cluster of 2 worker nodes for e2e
2024-05-28 18:27:29 +07:00
Arthur Silva Sens
7d6467b898
e2e/framework: Allow setting feature-gates when creating Prometheus-Operator
...
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com >
2024-05-27 14:46:50 -03:00
Simon Pasquier
b63aa1871a
chore: make TLSConfig fields optional
...
This commit changes the `serverName` and `insecureSkipVerify` fields of
TLS configuration to pointers instead of values.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-05-07 12:29:46 +02:00
M Viswanath Sai
642d9cd3fe
Chore: Change *RelabelConfigs to values instead of Pointers ( #6479 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
---------
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
Co-authored-by: Simon Pasquier <spasquie@redhat.com >
2024-04-29 14:47:37 -03:00
M Viswanath Sai
73fbb70cfa
Fix: Empty replacement is not possible when Action is Replace ( #6451 )
...
* Change Replacement from type string to *string
2024-04-15 10:16:15 +02:00
Simon Pasquier
3e0d0f86f2
change: define enableFeatures list as a set
...
It allows different actors to manipulate the list of enabled features
using server-side apply.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-04-04 15:08:50 +02:00
haanhvu
029b236365
relabel config: allow empty separator
...
Allow empty separator in relabel config. This is corresponding to Prometheus' relabel config.
Fixes #5003
2024-04-03 17:37:47 +07:00
Arthur Silva Sens
9638688718
Bump prometheus to 0.51.1
...
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
2024-03-29 12:23:48 -03:00
M Viswanath Sai
58c91f77ed
Fix: ScrapeConfigs Selection Issue Across Different Namespaces ( #6390 )
...
* Add testing for scrapeconfig and prometheus CR in different namespaces
2024-03-25 16:52:34 +01:00
Simon Pasquier
1e9c2bb55f
Merge pull request #6392 from nicolastakashi/chore/normalizing-tls-structs
...
[CHORE] normalizing tls structs monitor objects
2024-03-21 21:07:11 +01:00
Mario Fernandez Herrero
e3e0f9ae69
Controller id implementation to avoid errors with multiple operators ( #6319 )
...
Signed-off-by: Mario Fernandez <mariofer@redhat.com >
Co-authored-by: Simon Pasquier <spasquie@redhat.com >
2024-03-20 09:00:10 +01:00
Nicolas Takashi
f468418026
[CHORE] normalizing tls structs monitor objects
...
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com >
2024-03-13 21:04:08 +00:00
dongjiang
ed3aede934
chore: bump to golangci-lint v1.56.2 ( #6384 )
...
* update golangci lint version
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-03-12 11:00:44 +01:00
dongjiang
bff1021e7b
chores: change string type to duration type ( #6337 )
...
* change string to duration
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-03-04 16:27:24 +01:00
Simon Pasquier
88faa69772
Merge pull request #6274 from simonpasquier/update-rw-tests
...
chore: update remote-write tests
2024-02-06 16:46:50 +01:00
Simon Pasquier
c3232b6db0
chore: add e2e test detecting the issue
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-02-01 14:33:22 +01:00
Simon Pasquier
3a013fbf5a
chore: create monitors before Prometheus
...
It speeds up the tests since it doesn't have to wait for the updated
configuration to be propagated to Prometheus.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-01-31 09:52:43 +01:00
Simon Pasquier
f7a31740a6
chore: update remote-write tests
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-01-31 09:52:43 +01:00
Arthur Silva Sens
bfe114257c
Enable revive ( #6207 )
...
* Enable revive linter in test/framework
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
* Fix revive issues
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
2024-01-15 11:03:57 +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
dongjiang
dc0e71c0d5
feat: support the operator make use of the config-reloader tls and basic auth with prometheus/alertmanager webConfigFile ( #6194 )
...
* support the operator make use of the config-reloader tls and basic authentication
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-01-11 11:11:27 +01:00
Arthur Silva Sens
2ed10ae2f5
Prevent unnecessary type conversions ( #6210 )
...
* Prevent unnecessary type conversions
By enabling the unconvert linter
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
* Fix unconvert issues
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
2024-01-08 20:11:27 +00:00
Arthur Silva Sens
547fea903e
Prevent mistakes with testify lib ( #6211 )
...
* Prevent mistakes with testify
By enabling testifylint
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
* Fix testifylint issues
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
2024-01-08 17:06:49 +00:00
Arthur Silva Sens
164cb034ec
Ensure all comments end with a period ( #6208 )
...
* Ensure all comments end with a period.
By enabling the godot linter
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
* Fix godot issues
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com >
2024-01-08 12:07:39 -03:00