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

How to limit ACL permissions for the scraping user #896

Open
1 of 2 tasks
jaisharma639 opened this issue Apr 4, 2024 · 1 comment
Open
1 of 2 tasks

How to limit ACL permissions for the scraping user #896

jaisharma639 opened this issue Apr 4, 2024 · 1 comment
Assignees
Labels

Comments

@jaisharma639
Copy link

jaisharma639 commented Apr 4, 2024

Describe the problem
I understand that while creating the user via ACL SETUSER command, we're free to choose the permissions the user should have. But when I do so, I get errors of the following sort:

Apr 02 14:08:05 <hostname> grafana-agent[xxxx]: time="2024-04-02T14:08:05Z" level=error msg="Couldn't set client name, err: NOPERM this user has no permissions to run the 'client' command or its subcommand"

I can just ignore the errors but they'd end up in the log backend. Is there a way I can just selectively choose few permissions and still not get any errors? Possible to toggle few configs/metrics off which I don't need?

What version of redis_exporter are you running?
Please run redis_exporter --version if you're not sure what version you're running.

  • 0.3x.x
  • 1.x.x

Running the exporter
Running it via grafana agent flow component

Screenshots
NA

Additional context
na

@oliver006
Copy link
Owner

I personally have not used ACLs with the exporter so unfortunately I won't be of much use here.

Leaving this open in case anyone else sees this and has advice for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants