Skip to content

Conversation

@sulochan
Copy link
Collaborator

Adding mysql exporter to expose mysql and galera
metrics.

JIRA: OSPC-268

Next, install the exporter

```
kubectl kustomize --enable-helm . | kubectl create -n openstack -f -
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably want to add 'cd /opt/genestack/kustomize/prometheus-mysql-exporter' here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created secret as noted in doc but getting issue as the scraper runs:

s=2024-02-28T21:14:25.903Z caller=exporter.go:173 level=error msg="Error from scraper" scraper=slave_status target=mariadb-galera:3306 err="Error 1227 (42000): Access denied; you need (at least one of) the SLAVE MONITOR privilege(s) for this operation"

Adding mysql exporter to expose mysql and galera
metrics.

JIRA: OSPC-268
@the2hill
Copy link
Contributor

It seems the other metrics are showing up for me it's just the slave status which may just be a configuration issue in my lab setup. This LGTM

@cloudnull cloudnull merged commit c9f8a44 into rackerlabs:main Feb 29, 2024
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.

3 participants