Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COS HighLogVolume threshold always red #221

Open
mcfly722 opened this issue Dec 12, 2024 · 0 comments
Open

COS HighLogVolume threshold always red #221

mcfly722 opened this issue Dec 12, 2024 · 0 comments

Comments

@mcfly722
Copy link

Enhancement Proposal

Hello, we using juju grafana-agent to monitor Openstack environment.
All alerts transmitted to COS (Canonical Observability Stack)

There are Alert Rule: HighLogVolume that everytime is red on most of components, even if this components has legal log output messages and turned DUBUG mode off.
This rule has extremly low threshold (it is <100 messages ber 30s)

(see hardcoded grafana_agent_high_rate.rule )
So in this form it absolutelly useless! and there are no any charm paramenters to change or to specify this thresholds for each charm.

Is it possible to add this overriding parameter to specify exclusions or custom thresholds for each log with * regexp name matching?

And, I guess it should not be just two numbers, but array of rules like this:

[
	'HighLogVolume-ceph-mon':{
		filename: '/var/log/apache2//var/log/ceph/ceph-mgr.*.log',
		interval: 5m,
		threshold: 3000,
	},
        'HighLogVolume-cinder':{
		filename: '/var/log/apache2/cinder_access.log',
		interval: 60s,
		threshold: 1000
	},
	'HighLogVolume-keystone':{
		filename: '/var/log/apache2/keystone_access.log',
		interval: 20m,
		threshold: 10000
	},
	'HighLogVolume-compute':{
		filename: '/var/log/apache2/nova-api-os-compute_access.log',
		interval: 5m,
		threshold: 3000,
	}
	
	etc...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant