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: modules/ROOT/pages/analytics-chart.adoc
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
-
= Reviewing API Manager Analytics Charts Usage
1
+
= Reviewing API Manager Mule API Analytics Charts Usage
2
2
ifndef::env-site,env-github[]
3
3
include::_attributes.adoc[]
4
4
endif::[]
5
5
6
-
API Analytics provides a summary in chart form of requests, top apps, and latency for 1 hour, 3 hours, 1 day, 7 days, or 1 month. This data is available for 30 days. To view the Analytics chart, in API Manager, click the instance name of a deployed API.
6
+
Mule API Analytics provides a summary in chart form of requests, top apps, and latency for 1 hour, 3 hours, 1 day, 7 days, or 1 month. This data is available for 30 days. To view the Mule API Analytics chart, in API Manager, click the instance name of a deployed API.
7
7
8
-
*Note:* To view Analytics charts, users need View APIs Configuration permission. See xref:environment-permission-task.adoc[To Set Permissions].
8
+
*Note:* To view Mule API Analytics charts, users need `View APIs Configuration` permission. See xref:environment-permission-task.adoc[To Set Permissions].
9
9
10
10
== Reviewing Requests Summary Chart
11
11
12
-
The requests summary chart lists the total number of requests to your API by the duration you choose. The chart shows the HTTP status codes specified by W3C. For example:
12
+
The requests summary chart lists the total number of requests to your API instance by the duration you choose. The chart shows the HTTP status codes specified by W3C. For example:
13
13
14
14
image::request-analytics.png["Summary chart of the total number of requests for June 1, 2017, shown by one hour duration."]
15
15
@@ -21,7 +21,7 @@ Graph lines are provided for:
21
21
22
22
== Reviewing Top Apps Summary Chart
23
23
24
-
The top apps summary chart lists the number of requests made to the API by each application for the top 5 applications calling that API. Each color represents one of the top 5 applications accessing the API. The y-axis plots the number of calls made to the API.
24
+
The top apps summary chart lists the number of requests made to the API instance by each application for the top 5 applications calling that API instance. Each color represents one of the top 5 applications accessing the API. The y-axis plots the number of calls made to the API instance.
25
25
26
26
The graph lists the number of requests over the duration you select, for example:
27
27
@@ -37,9 +37,9 @@ image::performance-analytics.png["A latency summary chart showing the average la
37
37
38
38
== Including Policy Violations in Charts
39
39
40
-
*Note:* Users must have the View Policies permission set to view policies or edit a Policy Violation alert.
40
+
*Note:* Users must have the `View Policies` permission set to view policies or edit a Policy Violation alert.
41
41
42
-
Enable or disable the tracking of policy violations by checking the Include Policy Violations checkbox on an Analytics chart screen. The chart shows traffic rejected, or not rejected, by a policy.
42
+
Enable or disable the tracking of policy violations by checking the Include Policy Violations checkbox on an Mule API Analytics chart screen. The chart shows traffic rejected, or not rejected, by a policy.
43
43
44
44
image::policy-violations-dashboard.png["An analytics chart screen with the Include Policy Violations checkbox indicated with a callout."]
Copy file name to clipboardExpand all lines: modules/ROOT/pages/analytics-event-api.adoc
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
= Reviewing Analytics Event API
1
+
= Reviewing Mule API Analytics Event API
2
2
ifndef::env-site,env-github[]
3
3
include::_attributes.adoc[]
4
4
endif::[]
5
5
:keywords: analytics, api, reports
6
6
7
7
//Rename topic to Generating Analytics Reports for APIs
8
8
9
-
API Manager gathers analytics data for each API that you manage. You can generate this data in reports and charts, using the Analytics Event API. You can create reports for a specific environment or for multiple APIs, and you can create different reports for the same API.
9
+
API Manager gathers analytics data for each Mule API that you manage. You can generate this data in reports and charts, using the Analytics Event API. You can create reports for a specific environment or for multiple APIs, and you can create different reports for the same API.
10
10
11
11
== Requirements and Restrictions
12
12
@@ -22,7 +22,7 @@ Before you start using the API to create reports, consider the following require
22
22
* Although the Analytics Events API enforces a limit of 10 requests per minute, the best practice is 1 request per minute.
23
23
* Do not use the Analytics Events API for data synchronization.
24
24
+
25
-
If you need to synchronize data for events with an external system, see xref:analytics-event-forward.adoc[Analytics Event Forwarding].
25
+
If you need to synchronize data for events with an external system, see xref:analytics-event-forward.adoc[Mule API Analytics Event Forwarding].
26
26
27
27
28
28
== Create a Report
@@ -31,7 +31,7 @@ You can create a report to find API events, such as policy violations due to rat
31
31
32
32
To create a report:
33
33
34
-
. Navigate to *API Manager > Analytics > Manage Reports* and click *New*.
34
+
. Navigate to *API Manager* > *Mule Analytics* > *Manage Reports* and click *New*.
35
35
. In *Create Report*, select a data source, range, and format.
36
36
. In *Fields*, select *Violated Policy Name*.
37
37
. Save the report.
@@ -80,7 +80,7 @@ This command sends a request to the authentication servers of the Anypoint Platf
80
80
----
81
81
+
82
82
. Append the access token to the `Authorization` header in the request of the Analytics Reporting API endpoint for your report:
83
-
.. Copy the endpoint from the *Manage Reports* page in the Analytics dashboard.
83
+
.. Copy the endpoint from the *Manage Reports* page in the Mule API Analytics dashboard.
84
84
.. Include the `$TOKEN` variable from the previous step in the next request, as shown in the following example that retrieves analytics for organizations without environments:
In this example, analytics data is retrieved for the past 30 days from the API with the API ID <API_ID>. The results are generated in a CSV format.
101
-
+
101
+
102
102
The following example combines two `curl` commands and displays values in the command prompt window:
103
103
104
104
[source,text,linenums]
@@ -183,7 +183,7 @@ Timestamp, API Name, API ID, API Version, API Version ID are always included. +
183
183
*Type:* string +
184
184
*Required:* yes +
185
185
*Example:* `format=csv`
186
-
|maxResults |Maximum number of events to return. Default value is `20000`.+
186
+
|maxResults |Maximum number of events to return. Default value is `20000`.+
187
187
188
188
*Type:* integer +
189
189
*Required:* no +
@@ -240,12 +240,12 @@ Your report can query data for one or more of the available data fields:
240
240
In your query, if the `Content-Length` header is:
241
241
242
242
* Present: `Response Size` is set to that value.
243
-
* Not present and the payload is a String: Analytics calculates the length of the String and reports that value.
244
-
* Not present and the payload is not a String: Analytics reports the response size as -1.
243
+
* Not present and the payload is a String: Mule API Analytics calculates the length of the String and reports that value.
244
+
* Not present and the payload is not a String: Mule API Analytics reports the response size as -1.
245
245
+
246
246
For example, if the output returned is a DataWeave stream and the `Content-Length` header is not present, the Analytics Event API does not report a response size because the value is not a String. However if your application performs a String conversion, the response size is listed.
247
247
248
248
== See Also
249
249
250
-
* xref:viewing-api-analytics.adoc[Viewing API Analytics]
250
+
* xref:viewing-api-analytics.adoc[Viewing Mule API Analytics]
Copy file name to clipboardExpand all lines: modules/ROOT/pages/analytics-event-forward.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,23 @@
1
-
= Reviewing Analytics Event Forwarding
1
+
= Reviewing Mule API Analytics Event Forwarding
2
2
ifndef::env-site,env-github[]
3
3
include::_attributes.adoc[]
4
4
endif::[]
5
5
6
-
Sometimes you need to forward the Anypoint API Analytics events to a third-party system. An example of this could be integrating with ELK or other analytics system.
6
+
Sometimes you need to forward the Mule API Analytics events to a third-party system. An example of this could be integrating with ELK or other analytics system.
7
7
8
8
There are three ways to export events:
9
9
10
10
* Use the API Analytics Report API to pull the data. One consideration with this method is that the API has limit on the number and frequency of events that can be reported. Additionally, events may have delays of up to 10 minutes from the time the event is generated to the moment it is available for query.
11
11
12
-
* Forward API Analytics events from the Gateway to configured HTTP endpoint. To configure this on CloudHub, configure the `anypoint.platform.analytics_base_uri` gateway property from the Settings tab of Runtime Manager.
12
+
* Forward Mule API Analytics events from the Gateway to configured HTTP endpoint. To configure this on CloudHub, configure the `anypoint.platform.analytics_base_uri` gateway property from the Settings tab of Runtime Manager.
13
13
+
14
14
Setting this property configures the base URL where the events are posted.
In the example shown above, the events are published to `+http://<your-address-here>/v2/analytics/events+` using the POST method and GZIP for compression.
19
19
20
-
The disadvantage of this approach is that events are not published to Anypoint Platform and neither API Analytics nor API Manager display information about API calls.
20
+
The disadvantage of this approach is that events are not published to Anypoint Platform and neither Mule API Analytics nor API Manager display information about API calls.
21
21
22
22
* Use Runtime Manager to xref:runtime-manager::sending-data-from-arm-to-external-analytics-software.adoc[Export Data to External Analytics Tools]
Copy file name to clipboardExpand all lines: modules/ROOT/pages/analytics-landing-page.adoc
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,20 @@
1
-
= Analytics
1
+
= Mule API Analytics
2
2
ifndef::env-site,env-github[]
3
3
include::_attributes.adoc[]
4
4
endif::[]
5
5
:keywords: analytics
6
6
7
-
API Analytics can provide insight into how your APIs are being used and how they are performing. From API Manager, you can access the Analytics dashboard, create a custom dashboard, create and manage charts, and create reports. From API Manager, you can get following types of analytics:
7
+
NOTE: *Mule API Analytics* does not support Flex Gateway APIs. For Flex Gateway Analytics, see xref:gateway::flex-view-api-metrics.adoc[].
8
+
9
+
Mule API Analytics can provide insight into how your Mule APIs are being used and how they are performing. From API Manager, you can access the Mule API Analytics dashboard, create a custom dashboard, create and manage charts, and create reports. From API Manager, you can get following types of analytics:
8
10
9
11
* API viewing analytics
10
12
* API events analytics
11
13
* Charted metrics in API Manager
12
14
13
-
You can view data from a policy perspective in the Analytics dashboard, Analytics chart, or API Manager by including policy violations. This action tracks traffic rejected, or not rejected, by a policy.
15
+
You can view data from a policy perspective in the Mule API Analytics dashboard, Mule API Analytics chart, or API Manager by including policy violations. This action tracks traffic rejected, or not rejected, by a policy.
14
16
15
-
NOTE: The Analytics link is visible only to users who have `Read API` permission. Charts are visible for users who have `View Analytics` permission.
17
+
The *Mule API Analytics* tab is visible only to users who have `Read API` permission. Charts are visible for users who have `View Analytics` permission.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/api-proxy-landing-page.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,9 @@ You can deploy a proxy directly to a xref:runtime-fabric::index.adoc[Runtime Fab
49
49
* Enables customization
50
50
+
51
51
In most cases, the proxy generated in API Manager is suitable for deployment. However, in the Mule environment, you can use xref:studio::import-export-packages.adoc[Anypoint Studio] to edit the proxy to meet custom requirements.
52
-
* Secures and governs your APIs using policies and xref:viewing-api-analytics.adoc[API analytics]
52
+
* Secures and governs your APIs using policies and xref:viewing-api-analytics.adoc[Mule API Analytics]
53
53
+
54
-
The proxy enables you to protect your API with the full capabilities of the API gateway, including access to API Analytics.
54
+
The proxy enables you to protect your API with the full capabilities of the API gateway, including access to Mule API Analytics.
55
55
* Implements validations
56
56
+
57
57
Most proxies, including RAML, REST, and WSDL proxies, enable you to perform validations on all incoming requests, using your API definition. You can choose different levels of validation, depending on your requirements:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/latest-overview-concept.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,9 @@ _Custom policies_ are policies that anyone can develop and apply to their APIs,
45
45
* *DataGraph Administration*
46
46
+
47
47
Anypoint DataGraph enables you to unify all the data within your application network in a unified schema. For details, see xref:datagraph::index.adoc[Anypoint DataGraph Overview]. *DataGraph Administration* is only visible after you configure a Datagraph unified schema.
48
-
* *Analytics*
48
+
* *Mule API Analytics*
49
49
+
50
-
API analytics provide insight into how your APIs are being used and how they are performing. For details, see xref:viewing-api-analytics.adoc[Reviewing Analytics Usage].
50
+
Mule API Analytics provide insight into how your Mule APIs are being used and how they are performing. For details, see xref:viewing-api-analytics.adoc[Reviewing Mule API Analytics Usage].
51
51
52
52
. The *Add API* button. Enables you to add a new API instance, to promote an API from any environment to the current environment, or to import a configuration ZIP file that was exported from API Manager. For details, see xref:getting-started-proxy.adoc[Getting Started with Managing an API].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/viewing-api-analytics.adoc
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,21 @@
1
-
= Reviewing Analytics Usage
1
+
= Reviewing Mule API Analytics Usage
2
2
ifndef::env-site,env-github[]
3
3
include::_attributes.adoc[]
4
4
endif::[]
5
5
:keywords: analytics, dashboard
6
6
7
-
After logging into Anypoint Platform, navigate to API Manager, and on the Administration page, click Analytics to open the dashboard. From the dashboard, you can navigate to the analytics about your APIs gathered by Anypoint Platform.
7
+
You can view your Mule API Analytics data from both API Manager and Anypoint Monitoring. API Manager retains the Mule API Analytics data for up to 30 days. However, Anypoint Monitoring provides more robust API usage data with a retention period of 30 days.
8
8
9
-
You can view your API Analytics data from both API Manager and Anypoint Monitoring. API Manager retains the API Analytics data for up to 30 days. However, Anypoint Monitoring provides more robust API usage data with a retention period of 30 days.
9
+
To view Mule API Analytics Data in API Manager:
10
+
11
+
. Go to *Anypoint Platform* > *API Manager*.
12
+
. Click *Mule API Analytics*.
13
+
14
+
From the dashboard, you can navigate to the analytics about your APIs gathered by Anypoint Platform.
10
15
11
16
For more information about how you can view your data in Anypoint Monitoring, see xref:monitoring::api-analytics-dashboard.adoc[Anypoint Monitoring API Analytics Dashboard].
12
17
13
-
When you access the analytics for your APIs, by default you land on your Overview Dashboard that displays these charts:
18
+
When you access the analytics for your Mule APIs, by default you land on your Overview Dashboard that displays these charts:
14
19
15
20
* *Requests by Date*: Line chart that shows the number of requests for all APIs in your organization.
16
21
* *Requests by Location*: Map chart that shows the number of requests for each country of origin.
@@ -42,7 +47,7 @@ If you have filtered data on one of the charts to show only selected data, the e
42
47
43
48
== Including Policy Violations on the Dashboard
44
49
45
-
*Note:* Users must have the View Policies permission set to view policies or edit a Policy Violation alert.
50
+
*Note:* Users must have the `View Policies` permission set to view policies or edit a Policy Violation alert.
46
51
For more information, see xref:environment-permission-task.adoc[Setting permissions].
47
52
48
53
Enable or disable the tracking of policy violations by checking the Include Policy Violations checkbox on the dashboard. The dashboard will show traffic rejected, or not rejected, by a policy.
@@ -66,7 +71,7 @@ Only charts that group by Violated Policy Name include events that triggered a p
66
71
67
72
To create a custom chart, click Manage Charts:
68
73
69
-
. In API Manager > Analytics > Manage Charts, click New.
74
+
. Navigate to *API Manager* > *Mule API Analytics* > *Manage Charts* and click *New*.
70
75
+
71
76
Create Chart appears.
72
77
+
@@ -140,7 +145,7 @@ The custom chart appears.
140
145
141
146
=== Example Custom Chart: Policy Violations Per Application
142
147
143
-
. In API Manager > Analytics > Manage Charts, click New.
148
+
. Navigate to *API Manager* > *Mule API Analytics* > *Manage Charts* and click *New*.
144
149
. In Title, type *Policy Violations Per Application*.
145
150
. In Description, type *Number of violations per subscribed application*
146
151
. Select a stack chart.
@@ -165,7 +170,7 @@ After you create custom charts, you can display them side by side on a custom da
165
170
166
171
To access your custom dashboard, click the Custom Dashboard. The first time you open your custom dashboard, it is blank.
167
172
168
-
. In API Manager > Analytics > Custom Dashboard, click Edit Dashboard.
173
+
. Navigate to *API Manager* > *Mule API Analytics* > *Custom Dashboard* and click *Edit Dashboard*.
169
174
. Assuming you created custom charts, drag and drop charts from the drawer on the left of the screen onto your dashboard, rearranging them as needed into the order that you want.
170
175
+
171
176
. After you add a chart to your dashboard, you have the option to open it for editing or click the X to remove it from your dashboard.
0 commit comments