Skip to content

Commit 6ca1c78

Browse files
Merge branch 'v2.x' into W-13223380-api-summary-gr
2 parents 9bad2b8 + 15bba65 commit 6ca1c78

16 files changed

Lines changed: 98 additions & 75 deletions
Binary file not shown.
55.1 KB
Loading

modules/ROOT/nav.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
** xref:find-api-id-task.adoc[Obtain an API Instance ID]
1010
** xref:export-api-latest-task.adoc[Export an API Instance]
1111
** xref:access-developer-portal-task.adoc[Access the Developer Portal]
12+
** xref:edit-api-endpoint-task.adoc[Edit an API Instance Endpoint]
1213
** xref:deprecate-api-latest-task.adoc[Deprecate an API Instance]
1314
** xref:delete-api-task.adoc[Delete an API Instance]
1415
** xref:manage-versions-instances-concept.adoc[Manage API Versions and Instances]
@@ -53,11 +54,11 @@
5354
** xref:proxy-mule3-elements.adoc[Filter Mule Headers in Mule 3.x API Proxies]
5455
** xref:proxy-domain-support.adoc[Automatic Domain Support for Mule 4 API Proxies]
5556
* xref:manage-policies-overview.adoc[Policies]
56-
* xref:analytics-landing-page.adoc[View Analytics]
57-
** xref:viewing-api-analytics.adoc[Review Analytics Usage]
58-
** xref:analytics-chart.adoc[Review Analytics Charts Usage]
59-
** xref:analytics-event-api.adoc[Review Analytics Event API]
60-
** xref:analytics-event-forward.adoc[Review Analytics Event Forwarding]
57+
* xref:analytics-landing-page.adoc[View Mule API Analytics]
58+
** xref:viewing-api-analytics.adoc[Review Mule API Analytics Usage]
59+
** xref:analytics-chart.adoc[Review Mule API Analytics Charts Usage]
60+
** xref:analytics-event-api.adoc[Review Mule API Analytics Event API]
61+
** xref:analytics-event-forward.adoc[Review Mule API Analytics Event Forwarding]
6162
* xref:mule-oauth-provider-landing-page.adoc[Mule OAuth 2.0 Provider]
6263
** xref:about-configure-api-for-oauth.adoc[OAuth 2.0 Policy Prerequisites]
6364
** xref:external-oauth-2.0-token-validation-policy.adoc[OAuth 2.0 Access Token Enforcement Using Mule OAuth Provider]

modules/ROOT/pages/analytics-chart.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
= Reviewing API Manager Analytics Charts Usage
1+
= Reviewing API Manager Mule API Analytics Charts Usage
22
ifndef::env-site,env-github[]
33
include::_attributes.adoc[]
44
endif::[]
55

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.
77

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].
99

1010
== Reviewing Requests Summary Chart
1111

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:
1313

1414
image::request-analytics.png["Summary chart of the total number of requests for June 1, 2017, shown by one hour duration."]
1515

@@ -21,7 +21,7 @@ Graph lines are provided for:
2121

2222
== Reviewing Top Apps Summary Chart
2323

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.
2525

2626
The graph lists the number of requests over the duration you select, for example:
2727

@@ -37,9 +37,9 @@ image::performance-analytics.png["A latency summary chart showing the average la
3737

3838
== Including Policy Violations in Charts
3939

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.
4141

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.
4343

4444
image::policy-violations-dashboard.png["An analytics chart screen with the Include Policy Violations checkbox indicated with a callout."]
4545

modules/ROOT/pages/analytics-event-api.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
= Reviewing Analytics Event API
1+
= Reviewing Mule API Analytics Event API
22
ifndef::env-site,env-github[]
33
include::_attributes.adoc[]
44
endif::[]
55
:keywords: analytics, api, reports
66

77
//Rename topic to Generating Analytics Reports for APIs
88

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.
1010

1111
== Requirements and Restrictions
1212

@@ -22,7 +22,7 @@ Before you start using the API to create reports, consider the following require
2222
* Although the Analytics Events API enforces a limit of 10 requests per minute, the best practice is 1 request per minute.
2323
* Do not use the Analytics Events API for data synchronization.
2424
+
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].
2626

2727

2828
== Create a Report
@@ -31,7 +31,7 @@ You can create a report to find API events, such as policy violations due to rat
3131

3232
To create a report:
3333

34-
. Navigate to *API Manager > Analytics > Manage Reports* and click *New*.
34+
. Navigate to *API Manager* > *Mule Analytics* > *Manage Reports* and click *New*.
3535
. In *Create Report*, select a data source, range, and format.
3636
. In *Fields*, select *Violated Policy Name*.
3737
. Save the report.
@@ -80,7 +80,7 @@ This command sends a request to the authentication servers of the Anypoint Platf
8080
----
8181
+
8282
. 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.
8484
.. 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:
8585
+
8686
[source,console]
@@ -98,7 +98,7 @@ curl -H "Authorization: Bearer $TOKEN" "https://anypoint.mulesoft.com:443/analyt
9898
----
9999

100100
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+
102102
The following example combines two `curl` commands and displays values in the command prompt window:
103103

104104
[source,text,linenums]
@@ -183,7 +183,7 @@ Timestamp, API Name, API ID, API Version, API Version ID are always included. +
183183
*Type:* string +
184184
*Required:* yes +
185185
*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`. +
187187

188188
*Type:* integer +
189189
*Required:* no +
@@ -240,12 +240,12 @@ Your report can query data for one or more of the available data fields:
240240
In your query, if the `Content-Length` header is:
241241

242242
* 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.
245245
+
246246
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.
247247

248248
== See Also
249249

250-
* xref:viewing-api-analytics.adoc[Viewing API Analytics]
250+
* xref:viewing-api-analytics.adoc[Viewing Mule API Analytics]
251251
* https://stedolan.github.io/jq/[jq command-line JSON processor]

modules/ROOT/pages/analytics-event-forward.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
= Reviewing Analytics Event Forwarding
1+
= Reviewing Mule API Analytics Event Forwarding
22
ifndef::env-site,env-github[]
33
include::_attributes.adoc[]
44
endif::[]
55

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.
77

88
There are three ways to export events:
99

1010
* 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.
1111
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.
1313
+
1414
Setting this property configures the base URL where the events are posted.
1515
1616
image::analytics-event-forwarding.png[Event Forwarding]
1717

1818
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.
1919

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.
2121

2222
* Use Runtime Manager to xref:runtime-manager::sending-data-from-arm-to-external-analytics-software.adoc[Export Data to External Analytics Tools]
2323

modules/ROOT/pages/analytics-landing-page.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
= Analytics
1+
= Mule API Analytics
22
ifndef::env-site,env-github[]
33
include::_attributes.adoc[]
44
endif::[]
55
:keywords: analytics
66

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:
810

911
* API viewing analytics
1012
* API events analytics
1113
* Charted metrics in API Manager
1214
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.
1416

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.
1618

1719
== See Also
1820

modules/ROOT/pages/api-instance-landing-page.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,25 @@ include::_attributes.adoc[]
44
endif::[]
55
:keywords: api, instance, manager
66

7-
An API instance is the instantiation of an API definition. It is an object that is used to share data between gateways and the control plane. An API Instance can either be a proxy of an API that serves the upstream or a Mule application endpoint.
7+
An API instance is the instantiation of an API definition. It is an object that is used to share data between gateways and the control plane. An API instance can either be a proxy of an API that serves the upstream or a Mule application endpoint.
88

99
You can create, import, and deprecate API instances using API Manager. You can use instances of an API in multiple environments. You can also have multiple instances of an API in the same environment.
1010

1111
You can create one instance of an API version that serves as a proxy and create another to directly manage it as an endpoint. You can apply policies to the API based on how the API is configured--proxy or endpoint. For example, you can apply caching policies to the proxy, and throttling policies and security policies to the endpoint. Additionally, you can promote an API to another environment.
1212

13-
To manage API Instances in API Manager:
13+
To manage API instances in API Manager:
1414

1515
. xref:create-instance-task.adoc[Add an API Instance] - API instances are managed by API Manager after you add them and remain under management until you delete them.
16-
. xref:configure-api-task.adoc[Configure an API Instance] - You can customize your API Instance to fit your specific situation with many optional settings. Not all options are available depending on the runtime as well as the API.
17-
. View an API Instance's settings for information about the instance or to export it.
16+
. xref:configure-api-task.adoc[Configure an API Instance] - You can customize your API instance to fit your specific situation with many optional settings. Not all options are available depending on the runtime as well as the API.
17+
. View an API instance's API Summary for information about the instance or to export it:
1818
** xref:find-api-id-task.adoc[Obtain API Instance ID] - API Manager generates the apiId of new APIs managed by API Manager for use with Mule 4.
1919
** xref:export-api-latest-task.adoc[Export an API Instance] - After creating an API instance, you can export it. This exports the API instance endpoint configuration and Exchange asset relationship. You can then import it into another environment in the same business group to create a new API instance.
2020
** xref:access-developer-portal-task.adoc[Access the Developer Portal] - As an administrator, you can view the resources and methods of an API, and access other details, such as publish date and mocking service, from Anypoint Exchange (Exchange). You can view the API in an asset portal (private) or a public portal.
21-
. Modify an API Instance when you no longer need the instance or when you need to update it to the latest version.
21+
. Modify an API instance when you no longer need the instance or when you need to update it:
22+
** xref:edit-api-endpoint-task.adoc[Edit an API Instance Endpoint] - Edit the API instance's endpoint to update its base path, port, TLS context, and more.
2223
** xref:deprecate-api-latest-task.adoc[Deprecate an API Instance] - While transitioning consumers of your API to an updated instance, you can prevent developers from signing up for access to your old API instance.
2324
** xref:delete-api-task.adoc[Delete an API Instance] - You can delete an API instance and its version if you no longer need to manage it from API Manager.
2425
** xref:manage-versions-instances-concept.adoc[Manage API Versions] - After you create an API in Anypoint Platform, you configure the version details for the API and then publish it to Anypoint Exchange (Exchange). The API version resides in Exchange, and not in API Manager. However, you then manage this API version from API Manager.
25-
. Explore advanced use cases for API Instances.
26+
. Explore advanced use cases for API instances:
2627
+
2728
xref:configure-multiple-credential-providers.adoc[Configure Multiple Client Providers] - You can use multiple client providers, such as OpenAM and PingFederate, to help you enforce security and regulations in your business organization. These client providers enable you to secure your operational data, including client credentials and access tokens.

modules/ROOT/pages/api-proxy-landing-page.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ You can deploy a proxy directly to a xref:runtime-fabric::index.adoc[Runtime Fab
4949
* Enables customization
5050
+
5151
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]
5353
+
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.
5555
* Implements validations
5656
+
5757
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:

modules/ROOT/pages/building-https-proxy.adoc

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ outbound.keystore.password_281324
6161
outbound.truststore.password_281324
6262
----
6363

64-
The `281324` suffix in this case is API Instance ID of your API Proxy.
64+
The `281324` suffix in this case is API instance ID of your API Proxy.
6565

6666
If you inspect your API Proxy's XML, you can see these properties being used in your trustore/keystore configurations:
6767

@@ -91,7 +91,7 @@ outbound.keystore.password_281324
9191
outbound.truststore.password_281324
9292
----
9393

94-
The `281324` suffix in this case is API Instance ID of your API Proxy.
94+
The `281324` suffix in this case is API instance ID of your API Proxy.
9595

9696
If you inspect your API Proxy's XML, you can see these properties being used in your trustore/keystore configurations:
9797

@@ -106,12 +106,9 @@ To deploy your API Proxy to a standalone server, provide secured properties for
106106

107107
. Download the API Proxy.
108108
.. In API Manager, select the version of the API proxy you want to download.
109-
.. Click *Actions* and select *Download Proxy*.
110-
. Take note of your API Instance ID under *API Instance*.
111-
+
112-
image::building-https-proxy-541ec.png["The Download Proxy form with the API Instance ID highlighted by a rectangle."]
113-
+
114-
. When running your standalone Mule instance, you need to provide the keystore and key passphrases as -D arguments, along with your API Proxy's API Instance ID. +
109+
.. Click the *Actions* button in the top-right corner of your screen and select *Download Proxy*.
110+
. Take note of your API instance ID under *API Instance ID*.
111+
. When running your standalone Mule instance, you need to provide the keystore and key passphrases as -D arguments, along with your API Proxy's API instance ID. +
115112
For example, if your API instance ID is 15464957, you need to pass the arguments:
116113
+
117114
[source,sample,linenums]

0 commit comments

Comments
 (0)