1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-15 08:46:44 +00:00
Commit graph

195 commits

Author SHA1 Message Date
dongjiang
a26ca7273e
feat: support add native histogram config (#6796)
* add native histogram

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-10-21 17:38:11 +02:00
dongjiang
880f847f6a
feat: support allow_overlapping_compaction for prometheus (#6906)
---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-10-09 17:18:18 +02:00
Simon Pasquier
fbaa432c90
Merge pull request #6667 from slashpai/gogc
feat: add support for runtime.gogc
2024-10-09 16:32:35 +02:00
Jayapriya Pai
f62ca5c216 feat: add support for runtime.gogc
Fixes #6656

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-10-09 10:29:33 +05:30
Stavros Foteinopoulos
d723855170
Add ability for custom DNSConfig and DNSPolicy (#3899)
---------

Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-10-08 17:00:40 +02:00
zoglam
081d213678 feat: add support for query_offset / global.rule_query_offset (#6956) 2024-09-28 00:11:59 +03:00
YASH PATEL
ac6c7399a0
feat: Support file paths for certificate, key and client CA in web TL… (#6358)
* feat: Support file paths for certificate, key and client CA in web TLS configuration (#6246)
2024-09-16 15:17:21 +02:00
dongjiang
b048864e01
feat: Support ProxyConfig fields into the AlertmanagerConfig CRD for the HTTP clients (#6864)
* supporting new proxy fields into the AlertmanagerConfig CRD for the HTTP clients

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-09-10 15:24:21 +00:00
dongjiang
50d94c0e2e
feat: Support OutOfOrderTimeWindow field for PrometheusAgent (#6851)
* update PrometheusAgent

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-08-21 15:46:19 +02:00
dongjiang
304ca66537
feat: support new otlp receiver configuration (#6780)
---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-08-14 16:15:03 +02:00
dongjiang
b19677e628
feat: Support OAuth2 TLSConfig and ProxyConfig settings (#6735)
* update oauth2 struct

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* change TLSConfig to SafeTLSConfig

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-08-08 11:15:23 +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
Simon Pasquier
710a26702a
Merge pull request #6777 from simonpasquier/refactor-continue-route
chore: refactor Alertmanager route processing
2024-07-30 16:53:11 +02:00
dongjiang
cf61f1a452
feat: Support TLSConfig TLSVersion setting (#6736)
* support tlsconfig tlsversion

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-07-29 17:15:57 +02:00
Simon Pasquier
44eac17d9a
chore: refactor Alertmanager route processing
Triggered by #6622.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-07-26 09:56:06 +02:00
Marek Słabicki
813bc2b6b9
Add ServiceDiscoveryRole configuration to toggle service discovery via EndpointSlice vs Endpoints (#6672)
* Add service discovery role in Prometheus and Prometheus Agent CRDs



---------

Co-authored-by: haanhvu <haanh6594@gmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-07-25 09:15:52 +02:00
Hamish
ccefbfb926
feat(scrapeclass): Generated changes 2024-07-18 14:47:09 +12:00
dongjiang
0130d11084
feat(remote): add support prometheus remote write/read ProxyConfig (#6512)
* update prometheus remote write/read proxy config

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>



---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-06-18 16:02:17 +02:00
Simon Pasquier
ce9200548d
Merge pull request #6612 from simonpasquier/refactor-web-tls-validation
Refactor web tls validation
2024-05-27 11:04:55 +02:00
Mathieu Parent
555fa80849 Add extra metric relabelings to scrape classes
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
2024-05-22 22:27:46 +02:00
Simon Pasquier
311e110bd4
chore: remove WebTLSConfigError
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-05-22 21:55:28 +02:00
M Viswanath Sai
35340a6c4a
[WIP] Feat: Add alert_relabel_configs to the Prometheus and PrometheusAgent CRD's (#6450)
* AlertmanagerEndpoints: add alertRelabelingConfigs field to AlertmanagerEndpoints

* alertmanagerEndpoints: wrap errors and fix naming for tests

* fix: attempt to manually revert mistakenly commited code
2024-05-17 11:09:01 +02:00
Jayapriya Pai
3bea4467d6
feat: support SDK auth in AzureAD RemoteWrite
Related-to #6584

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-05-16 18:47:56 +05:30
M Viswanath Sai
48e98584b5
Feat: Add relabel_configs field to AlertmanagerEndpoints (#6467)
* Add RelabelConfigs to AlertmanagerEndpoints
2024-05-14 15:36:30 +02:00
dongjiang
5a61e1ddf0
feat(ProxyConfig): Update CRD for ProxyConnectHeader type (#6541)
* update CRD for ProxyConnectHeader

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-05-14 14:52:02 +02: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
Stefan Caraiman
733d2fe5f6 fix: make automountServiceAccountToken configurable
Fixes https://github.com/prometheus-operator/prometheus-operator/issues/6270

Signed-off-by: Stefan Caraiman <stefanc.caraiman@gmail.com>
2024-04-16 17:26:24 +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
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
Quentin Bisson
877e5782b7
Add extra relabelings to scrape classes (#6379) 2024-03-19 17:58:53 +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
Mohammad
b64f254b95
thanos: add support for web configuration to the ThanosRuler CRD (#6278)
* thanos: add support for web configuration to the ThanosRuler CRD

This enable us to set tls for thanos ruler

Fixes #6157
2024-03-13 17:31:07 +01:00
Mohammad
bc0b84218b
feat: add bodySizeLimit to service and pod monitors (#6349)
* feat: add EnforcedBodySizeLimit to service and monitor
2024-03-12 10:58:31 +01:00
dongjiang
4030eb75f6
feat: support sample_age_limit for QueueConfig (#6326)
* add SampleAgeLimit

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* update by code review

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* change string type to duration

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* update make generate

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* update promcfg_test unittest

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* update some nits by code review

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-03-11 17:38:22 -03:00
Yonatan Sasson
9faf3b2c5f
feat: support --enable-feature argument in Alertmanager CRD (#6152)
* feat: support alertmanager --enable-feature argument

this will expose more Alertmanager configuration parameters to users of the Alertmanager CRD.

Signed-off-by: Yonatan Sasson <yonatanxd7@gmail.com>
2024-03-07 16:43:23 +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
Jayapriya Pai
b006b53776
chore: move ProxyConfig type to v1
Related-to prometheus-operator#6301

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-02-26 21:10:44 +05:30
Nicolas Takashi
a70f1945b9
feat: adding scrape class (#6199)
* feat: adding scrape class

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>

* Update pkg/apis/monitoring/v1/prometheus_types.go

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>

* Update pkg/prometheus/promcfg.go

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>

* Update pkg/prometheus/store.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/resource_selector.go

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>

* Update pkg/prometheus/store.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/resource_selector.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/resource_selector.go

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>

* Update pkg/prometheus/promcfg.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/promcfg.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/server/operator.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update pkg/prometheus/promcfg.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

* Update prometheus_types.go

Co-authored-by: Simon Pasquier <spasquie@redhat.com>

---------

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-02-23 15:15:16 -03:00
dongjiang
e0b26a167b
feat: support added scrape_protocols to Pod/Service monitors (#6268)
* support scrape_protocols to podmonitor/servicemonitor

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-01-31 10:04:31 +01:00
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
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
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
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
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
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
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