You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/install/mysql/aurora/query-monitoring.mdx
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,11 @@ Follow these instructions to enable Performance Schema for Aurora MySQL:
14
14
2. Select `Parameter groups` and either:
15
15
16
16
* Create two new DB Parameter Groups: one for the Aurora cluster and another for the Aurora instance, with a family matching your Aurora MySQL version For example, `aurora-mysql8.0`.
17
-
* Modify existing custom DB Parameter Groups already associated with your Aurora DB setup. Do not modify the default parameter group.
17
+
* Modify existing custom DB Parameter Groups already associated with your Aurora DB setup.
18
+
19
+
<Calloutvariant="tip">
20
+
Don't modify the default parameter group.
21
+
</Callout>
18
22
19
23
3. Configure the DB Parameter Groups by setting the following consumer parameters:
20
24
@@ -30,9 +34,12 @@ Follow these instructions to enable Performance Schema for Aurora MySQL:
30
34
performance_schema_max_sql_text_length = 4096
31
35
```
32
36
33
-
4. Associate the modified or newly created DB Parameter Groups with your Aurora DB cluster and instance. (Select your DB cluster and instance in the RDS console, click `Modify`, and find the `DB instance parameter group` and `DB cluster parameter group` settings.)
37
+
4. Associate the parameter groups with your Aurora DB cluster and instance:
38
+
39
+
* In the RDS console, select your DB cluster or instance and click Modify.
40
+
* In DB instance parameter group and DB cluster parameter group, choose the groups you edited.
34
41
35
-
5. Reboot your Aurora DB instance for the changes to take effect. For more information, refer to [Working with DB Parameter Groups documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.html).
42
+
5. Reboot your Aurora DB instance for the changes to take effect. For more information, refer to AWS Documentation on [Working with DB Parameter Groups](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.html).
36
43
37
44
2. To enable query-level monitoring, you must also enable the Performance Schema consumers and instruments using one of the following methods:
38
45
@@ -56,13 +63,7 @@ Follow these instructions to enable Performance Schema for Aurora MySQL:
56
63
GRANT EXECUTE ON newrelic.* TO 'newrelic'@'AWS-or-Azure-instance-name';
57
64
```
58
65
59
-
2. To set up procedure for runtime activation of consumers and instruments:
60
-
61
-
<Calloutvariant="tip">
62
-
63
-
New Relic recommends that you create the following procedure to grant the Agent the ability to enable `performance_schema.events_* consumers` and `instruments` at runtime.
64
-
65
-
</Callout>
66
+
2. To create stored procedure as New Relic agent uses this procedure to enable the required `performance_schema` consumers and instruments at runtime:
66
67
67
68
```sql
68
69
DELIMITER $$
@@ -84,7 +85,7 @@ Follow these instructions to enable Performance Schema for Aurora MySQL:
84
85
>
85
86
86
87
<Calloutvariant="tip">
87
-
Grants the monitoring user direct UPDATE privileges on `performance_schema.setup_consumers` and `performance_schema.setup_instruments` tables. This allows the New Relic agent to manage required Performance Schema settings directly.
88
+
Grants the monitoring user `UPDATE` privileges on the `performance_schema.setup_consumers` and `performance_schema.setup_instruments` tables. The New Relic agent uses these privileges to manage Performance Schema settings.
Copy file name to clipboardExpand all lines: src/install/mysql/linux/query-monitoring.mdx
+2-8Lines changed: 2 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -131,13 +131,7 @@ Query-level monitoring is supported only on MySQL version 8.0 and later.
131
131
GRANT EXECUTE ON newrelic.* TO 'newrelic'@'localhost';
132
132
```
133
133
134
-
2. To set up procedure for runtime activation of consumers and instruments:
135
-
136
-
<Calloutvariant="tip">
137
-
138
-
Newrelic recommends that you create the following procedure to grant the Agent the ability to enable performance_schema.events_*`consumers` and `instruments` at runtime.
139
-
140
-
</Callout>
134
+
2. To create the procedure to allow the New Relic agent to `enable performance_schema.events_*``consumers` and `instruments` at runtime:
141
135
142
136
```sql
143
137
DELIMITER $$
@@ -159,7 +153,7 @@ Query-level monitoring is supported only on MySQL version 8.0 and later.
159
153
>
160
154
161
155
<Calloutvariant="tip">
162
-
Grants the monitoring user direct UPDATE privileges on `performance_schema.setup_consumers` and `performance_schema.setup_instruments` tables. This allows the New Relic agent to manage required Performance Schema settings directly.
156
+
Grants the monitoring user `UPDATE` privileges on the `performance_schema.setup_consumers` and `performance_schema.setup_instruments` tables. The New Relic agent uses these privileges to manage Performance Schema settings.
Copy file name to clipboardExpand all lines: src/install/mysql/rds/query-monitoring.mdx
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ componentType: default
3
3
headingText: (Optional) Enable MySQL query-level monitoring
4
4
---
5
5
6
-
Configure your integration to enable query-level monitoring in New Relic. By setting the appropriate parameters, you can capture detailed metrics on query performance, which allows you to identify and optimize slow or inefficient queries. For more information, refer [Query-Level monitoring](/docs/infrastructure/infrastructure-data/query-level-monitoring).
6
+
Configure your integration to enable query-level monitoring in New Relic. By setting the appropriate parameters, you can capture detailed metrics on query performance, which allows you to identify and optimize slow or inefficient queries. For more information, refer to [Query-Level monitoring](/docs/infrastructure/infrastructure-data/query-level-monitoring).
7
7
8
8
Follow these instructions to enable the Performance Schema. The configuration method outlined here applies specifically to MySQL RDS.
9
9
@@ -51,13 +51,7 @@ Follow these instructions to enable the Performance Schema. The configuration me
51
51
GRANT EXECUTE ON newrelic.* TO 'newrelic'@'AWS-or-Azure-instance-name';
52
52
```
53
53
54
-
2. To set up procedure for runtime activation of consumers and instruments:
55
-
56
-
<Calloutvariant="tip">
57
-
58
-
New Relic recommends that you create the following procedure to grant the Agent the ability to enable `performance_schema.events_* consumers` and `instruments` at runtime.
59
-
60
-
</Callout>
54
+
2. To create the procedure to allow the New Relic agent to `enable performance_schema.events_*``consumers` and `instruments` at runtime:
61
55
62
56
```sql
63
57
DELIMITER $$
@@ -79,7 +73,7 @@ Follow these instructions to enable the Performance Schema. The configuration me
79
73
>
80
74
81
75
<Calloutvariant="tip">
82
-
Grants the monitoring user direct UPDATE privileges on `performance_schema.setup_consumers` and `performance_schema.setup_instruments` tables. This allows the New Relic agent to manage required Performance Schema settings directly.
76
+
Grants the monitoring user `UPDATE` privileges on the `performance_schema.setup_consumers` and `performance_schema.setup_instruments` tables. The New Relic agent uses these privileges to manage Performance Schema settings.
Copy file name to clipboardExpand all lines: src/install/mysql/windows/query-monitoring.mdx
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -73,11 +73,7 @@ Query-level monitoring is supported only on MySQL version 8.0 and later.
73
73
GRANT EXECUTE ON newrelic.* TO 'newrelic'@'AWS-or-Azure-instance-name';
74
74
```
75
75
76
-
2. To set up procedure for runtime activation of consumers and instruments:
77
-
78
-
<Calloutvariant="tip">
79
-
80
-
New Relic recommends that you create the following procedure to grant the Agent the ability to enable `performance_schema.events_* consumers` and `instruments` at runtime.
76
+
2. To create the procedure to allow the New Relic agent to `enable performance_schema.events_*``consumers` and `instruments` at runtime:
81
77
82
78
</Callout>
83
79
@@ -101,7 +97,7 @@ Query-level monitoring is supported only on MySQL version 8.0 and later.
101
97
>
102
98
103
99
<Calloutvariant="tip">
104
-
Grants the monitoring user direct UPDATE privileges on `performance_schema.setup_consumers` and `performance_schema.setup_instruments` tables. This allows the New Relic agent to manage required Performance Schema settings directly.
100
+
Grants the monitoring user `UPDATE` privileges on the `performance_schema.setup_consumers` and `performance_schema.setup_instruments` tables. The New Relic agent uses these privileges to manage Performance Schema settings.
0 commit comments