Skip to content

Configure prometheus agent write relabel configs#2

Draft
AvihuHenya wants to merge 2 commits into
mainfrom
cursor/configure-prometheus-agent-write-relabel-configs-82b4
Draft

Configure prometheus agent write relabel configs#2
AvihuHenya wants to merge 2 commits into
mainfrom
cursor/configure-prometheus-agent-write-relabel-configs-82b4

Conversation

@AvihuHenya

Copy link
Copy Markdown

Refactor PrometheusAgent configuration to resolve pod termination and enable proper metric collection.

The PrometheusAgent pod was terminating due to missing resource limits and an incomplete remote write configuration. This PR addresses these by adding proper resource requests/limits, configuring the remote write queue, and correcting writeRelabelConfigs for accurate metric processing before remote sending. Additionally, ServiceMonitor endpoint configurations were enhanced with explicit paths and specific relabelConfigs for targets like kubelet, ensuring comprehensive metric collection.


Open in Cursor Open in Web

@cursor

cursor Bot commented Aug 14, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants