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

226 commits

Author SHA1 Message Date
M Viswanath Sai
e61abf1b84
Merge pull request #7149 from mviswanathsai/alertmanager-mtls
Feature: Enable configuring mTLS (ClusterTLS) in AlertManager
2025-03-11 09:03:27 +01:00
M Viswanath Sai
9bc6e5e7db
Merge pull request #7274 from mviswanathsai/shard-autoretention-featuregate
Add ShardRetentionPolicy to Prometheus API
2025-02-28 15:29:04 +01:00
Thomas Rouaux
4f32e47eed
feat: add serviceName option to ThanosRuler and AlertManager CRD (#7325) 2025-02-21 17:01:25 +01:00
dongjiang
3031ecb596
Merge pull request #7327 from kubeservice-stack/support-round-robin-dns
feat: Add `round_robin_dns` option from prometheus RemoteWriteConfig
2025-02-10 10:24:20 +01:00
dongjiang
9ad1f30707
feat: Add support scrape_failure_log_file for prometheus and prometheusAgent (#7038)
* support scrapefailurelogfile config

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2025-01-31 22:38:04 +05:30
Jayapriya Pai
d1c34e3769
feat: add fallbackScrapeProtocol to ScrapeClass
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2025-01-20 17:47:44 +05:30
dongjiang
6e3ecb473a
chore: update controller-runtime to v0.20.0 and controller-tools version to v0.17.1 (#7287)
* dongjiang, update controller-runtime and controller-tools version

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

* fix fake

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

---------

Signed-off-by: dongjiang <dongjiang1989@126.com>
2025-01-20 11:16:02 +01:00
M Viswanath Sai
78bffbb698
Feat: Add servicename field to the Prometheus server and agent CRDs (#6687) 2025-01-15 13:51:32 +01:00
dongjiang
ae04859fc9
Merge pull request #7240 from kubeservice-stack/support-KeepIdentifyingResourceAttributes
feat: Support add `KeepIdentifyingResourceAttributes` in OTLPConfig
2025-01-10 13:31:16 +01:00
Simon Pasquier
3212ad9148
chore: improve documentation of web TLS configuration
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-12-20 14:42:44 +01:00
Jayapriya Pai
58d9d3a7a3
CHANGE/BugFix: Rename scrapeFallbackProtocol to fallbackScrapeProtocol
While reviewing #7197 noticed that Prometheus is using
`fallback_scrape_protocol` for the field hence updating to
match similar naming to avoid confusion among users.

This is a newly introduced field in this release v0.79
so we want to update it in patch release before users use this field.

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-12-17 10:32:52 +05:30
dongjiang
ca3db528a0
Fix: Remove scrapeFallbackProtocol in Prometheus CommonSpec (#7197)
* move common scrapeFallbackProtocol

Signed-off-by: dongjiang <dongjiang1989@126.com>
2024-12-16 18:42:19 +05:30
Nicolas Takashi
0291114c95
Merge pull request #7185 from prometheus-operator/chore/role-selector-pod-monitor
[CHORE] Add support for role selectors on PodMonitor.
2024-12-13 15:51:30 +00:00
Jayapriya Pai
2a956605d2
Merge pull request #7191 from pintohutch/alertmanager-proxy-url
feat: add proxy_url to alertmanagerendpoints
2024-12-13 19:19:10 +05:30
Danny Clark
7345963a3d
feat: add proxy_url to alertmanagerendpoints
We add support for client http proxy settings for alertmanager endpoints
specified in the Prometheus config.

Specifically, we utilize the existing ProxyConfig api used elsewhere
and embed it in the AlertmanagerEndpoints api.
2024-12-13 03:29:48 +00:00
Nicolas Takashi
b52760f777
[CHORE] adding base structure
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
2024-12-11 21:19:16 +00:00
Zadkiel AHARONIAN
2ef3563140
feat: Add Alertmanager STS persistentVolumeClaimRetentionPolicy
Signed-off-by: GitHub <noreply@github.com>
2024-12-11 19:44:15 +00:00
Nicolas Takashi
f49de99bef
[FEATURE] adding RoleSelector field in ServiceMonitor (#7086)
---------

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
Co-authored-by: Pranshu Srivastava <rexagod@gmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-12-10 18:02:04 +01:00
Hélia Barroso
8c407eb272
[feat] - Add Labels to RuleGroup (#7140)
---------

Signed-off-by: Hélia Barroso <helia_barroso@hotmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-12-10 11:53:22 +01:00
Philip Gough
cf661a0361
Attach Authorization to config via ScrapeClass (#7154)
* api: Add Authorization to ScrapeClass

---------

Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-12-09 14:24:34 +01:00
dongjiang
20cc1a0125
feat: Support portNumber in addition of port name for PodMonitor CRD (#7150)
---------

Signed-off-by: dongjiang <dongjiang1989@126.com>
2024-11-29 14:12:17 +01:00
dongjiang
c5de052771
chore: optimize AM APIVersion validation (#7118)
* optimize am APIVersion


---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-11-27 11:56:20 +01:00
dongjiang
d3b8e5921d
feat: add support fallback_scrape_protocol option for each scrape CRD and globally (#7131)
* add fallback scrape protocol


---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-11-21 10:35:54 +01:00
Hélia Barroso
ef69943905
[FEAT] - Add metric_name_validation_scheme (#7116)
---------

Signed-off-by: Hélia Barroso <helia_barroso@hotmail.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-11-20 11:23:37 +01:00
Simon Pasquier
35790cdbee
Merge pull request #7121 from simonpasquier/improve-thanos-ruler-docs
chore: improve ThanosRuler documentation
2024-11-18 11:59:03 +01:00
Simon Pasquier
a53f3f89df
chore: improve ThanosRuler documentation
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-18 11:12:58 +01:00
dongjiang
2d5b11ad21
feat: add support --web.enable-otlp-receiver flag in the Prometheus/PrometheusAgent CRD (#7105)
* add otlp receiver

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-11-15 17:14:04 +01:00
dongjiang
0a5584367f
feat: add support TranslationStrategy option for OTLP receiver (#7112)
---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-11-15 09:25:57 +01:00
Simon Pasquier
d728a1ce9d
fix: add runtime configuration for PrometheusAgent
In #6667, we forgot to support the new runtime configuration for the
PrometheusAgent CRD.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-08 09:19:56 +01:00
Simon Pasquier
6c4545572a
chore: refactor pkg/prometheus/promcfg.go
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-10-30 09:00:48 +01:00
Simon Pasquier
aa58fe3f4c
feat: add support for Remote Write v2.0
This change includes the following:
* New `messageVersion` field to the remote write configuration to select
  between v1 and v2 message formats.
* New `remoteWriteReceiverMessageVersions` to select which message
  format(s) to accept when the remote receiver is configured.
* Stricter validation for the remote write's URL (not breaking since an
  empty URL value would already fail the Prometheus configuration
  loading)

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-10-23 10:51:21 +02:00
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