Skip to content

Commit 45fdfa9

Browse files
authored
Merge branch 'v2.x' into W-17032550-api-alert-limits-fa
2 parents 1f3dc28 + 5b0e90a commit 45fdfa9

File tree

7 files changed

+136
-8
lines changed

7 files changed

+136
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
:page-notice-banner-message: Mule API Analytics is scheduled for End of Life on November 30, 2024. Use <a href="https://docs.mulesoft.com/monitoring/">Anypoint Monitoring</a> instead. Contact your MuleSoft account representative for more information.
1+
:page-notice-banner-message: Mule API Analytics will soon be replaced by <a href="https://docs.mulesoft.com/monitoring/">Anypoint Monitoring</a>. Start transitioning to Anypoint Monitoring to monitor APIs effectively. Contact your MuleSoft representative for more information.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[[key-metrics]]
2+
== Understanding Key Metrics
3+
4+
The *Key Metrics* section of the API summary contains the following charts:
5+
6+
Total Requests::
7+
Sum of requests in the selected time period for the given API.
8+
+
9+
Data is aggregated in one minute increments.
10+
11+
Total Policy Violations::
12+
Sum of requests that return policy violations.
13+
+
14+
Data is aggregated in one minute increments.
15+
16+
Total Errors::
17+
Sum of HTTP response codes that occur in the selected time period. The response codes counted in this metric are 400, 401, 402, 403, 404, 405, 408, 409, 410, 411, 412, 413, 415, 416, 417, 420, 422, 429, 500, 502, 503, 504, 504, 510, and 511.
18+
+
19+
Data is aggregated in one minute increments. In the chart, HTTP response codes are abbreviated as 4xx and 5xx.
20+
21+
Average Response Time::
22+
Average response time of requests in the selected time period for the given API.
23+
+
24+
Data is aggregated in one minute increments.
25+
26+
27+
== Setting the Time Period for Key Metrics
28+
29+
You can view the data points collected for the last given period of time (such as the last 5 or 30 minutes) or over a given date and time range. Use the drop-down in the calendar icon to select the time period to display.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ You can view data from a policy perspective in the Mule API Analytics dashboard,
1818

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

21+
[NOTE]
22+
API Analytics isn't available on Hyperforce deployments.
23+
24+
2125
== See Also
2226

2327
*** xref:viewing-api-analytics.adoc[Reviewing Analytics usage]

modules/ROOT/pages/create-instance-task-flex.adoc

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ In the following diagram, different routes manage requests to flight information
5252

5353
image:multiple-upstreams.png[Flex Gateway manages the traffic to multiple upstreams]
5454

55+
=== Limits
56+
57+
[%header%autowidth.spread,cols="a,>.<a,a"]
58+
|===
59+
| Limit | Value | Notes
60+
| Upstreams per API | 50 | Each API supports 50 upstreams. The 50 upstreams can consist of a combination of different routes.
61+
| Routes per API | 50 | Each API supports 50 routes.
62+
| Upstreams per route| 10|
63+
| Headers per route rule | 10|
64+
| ===
65+
5566
=== Routes
5667

5768
Each API instance supports up to 50 routes and each route can support up to 10 upstream services. Configure what requests a route can receive by defining route rules and a route order. At least one route per API instance is required.
@@ -60,10 +71,6 @@ Before adding additional routes, enter an optional *Route label* for clarity.
6071

6172
You can add additional routes by clicking *Add Route*, and you can delete routes by clicking the *Trash Can* icon (image:trash-can-icon.png[2%,2%]). If only one route is defined, you cannot delete that route.
6273

63-
=== Limits
64-
65-
include::partial$api-manager-limits.adoc[]
66-
6774
==== Route Rules
6875

6976
You can direct requests to different routes by using route rules.
@@ -163,6 +170,7 @@ Configure the following fields for each upstream service:
163170

164171

165172

173+
166174
//promote-api
167175
include::partial$task-promote-api.adoc[]
168176

modules/ROOT/pages/create-instance-task-mule.adoc

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,55 @@ include::partial$api-configuration-tables.adoc[tags=mule-proxy-upstream]
5959
+
6060
include::partial$task-add-api-instance.adoc[tags=last-steps]
6161

62+
== Create New API Asset
63+
64+
NOTE: This feature is only available on GovCloud environments. If you want to create an API asset in other environments, refer to xref:exchange::to-create-an-asset.adoc#create-an-api-asset[]
65+
66+
An API asset specifies an interface completely, including its functions, descriptions, how to handle return codes, and dependencies.
67+
68+
Creating an asset sets the asset type, which cannot be changed. All versions of an asset always have the same type.
69+
70+
To create an API asset:
71+
72+
. In API Manager, click *Add API*.
73+
74+
. From the dropdown list, select *Create new API asset*
75+
76+
. Enter a name for the asset.
77+
78+
. Select the asset type from the drop-down list:
79+
80+
** REST API - RAML: Provide a RAML API specification file. RAML specifications must be a RAML file (.raml).
81+
82+
** REST API - OAS: Provide an OAS API specification file. OAS specifications can be either a YAML (.yaml) or JSON (.json) file. Exchange supports OAS 2.0 and OAS 3.0 specifications.
83+
84+
** SOAP API - WSDL: Provide a WSDL API specification file. SOAP specifications file can be either a WSDL (.wsdl) or XML (.xml) file.
85+
86+
** AsyncAPI: Provide an AsyncAPI specification file in a YAML (.yaml) or JSON (.json) file.
87+
88+
** AsyncAPI with Avro schemas: Provide an Avro fragment in an AVSC (.avsc) file.
89+
90+
** API Spec Fragment - RAML: Provide an API Fragment RAML specification file. Fragment specifications must be a RAML file (.raml).
91+
92+
** API Spec Fragment - JSON: Provide an API Fragment JSON specification (.json) file.
93+
94+
** API Spec Fragment - OpenAPI Specification (OAS): Provide an API Fragment OpenAPI specification file either JSON or YAML.
95+
96+
** HTTP API: This asset does not require a file. This asset type provides an API endpoint that is defined by API Manager.
97+
98+
. For assets that require a file:
99+
100+
.. Click *Choose File* to locate the API specification file.
101+
102+
.. Select the main file of the API. +
103+
If the file is a ZIP, the selected main file must be in the root directory of the ZIP file. If the file is not a ZIP or if the file is a ZIP file with only one main file, then the main file is selected automatically.
104+
105+
. If you want to edit the *GroupId*, *AssetId*, *Version*, and *API version* (GAV), click *Advanced*. +
106+
Exchange generates the group ID, asset ID, and version (GAV) for you, and you can change these values as needed. You can change an API’s asset version and version separately. Use the advanced settings to change the asset version.
107+
108+
. Choose an option for *Lifecycle state*. The default is Stable.
109+
110+
. Click *Publish*.
62111

63112
//promote-api
64113
include::partial$task-promote-api.adoc[]

modules/ROOT/pages/latest-overview-concept.adoc

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,21 @@ see xref:api-contracts-landing-page.adoc[].
109109

110110
=== API Instances
111111

112-
An API instance describes a configuration of an API that is deployed on one of the following runtimes: Flex Gateway, Mule Gateway, or Anypoint Service Mesh. API instances are managed by API Manager after they are created by using the add, promote, or import options. API instances remain under management until they are deleted.
112+
An API instance describes a configuration of an API that is deployed on one of the following runtimes: Flex Gateway, Mule Gateway, or Anypoint Service Mesh. API instances are managed by API Manager after they are created by using the add, promote, or import options. API instances remain under management until they are deleted. To view the API Summary for an API instance, click the API instance name.
113+
114+
For more detail, see xref:api-instance-landing-page.adoc[].
115+
116+
=== API Summary
113117

114118
The API Summary shows key information about a deployed API instance:
115119

116120
image::api-instance-summary.png[API Summary page]
117121

118-
For details, see xref:api-instance-landing-page.adoc[].
122+
=== Key Metrics
123+
124+
The API Summary page includes a Key Metrics section.
125+
126+
include::partial$key-metrics.adoc[leveloffset=+2]
119127

120128
=== API Alerts
121129

@@ -230,6 +238,18 @@ The support for environments in strategic components of Anypoint Platform elimin
230238

231239
For details, see xref:access-management::environments.adoc[].
232240

241+
[[APIM-hyperforce]]
242+
== API Manager on Hyperforce
243+
244+
All features of Anypoint API Manager are supported on Hyperforce with these exceptions:
245+
246+
* API Alerts. Instead, use xref:monitoring::index.adoc[Anypoint Monitoring], for detailed logs to monitor API performance.
247+
* Key Metrics. Instead, use xref:monitoring::index.adoc[Anypoint Monitoring], to access metrics to monitor API performance.
248+
* Mule Hybrid and CloudHub deployment. Migrate to xref:cloudhub-2::index.adoc[CloudHub 2.0] to deploy your APIs.
249+
* API Service Mesh is scheduled for End of Life and is not available on Hyperforce. For service mesh capabilities, consider upgrading to xref:gateway::index.adoc[API Gateway].
250+
* API Manager 1.x. Migrate to API Manager 2.x dor continued use and access to the latest features.
251+
252+
233253
== See Also
234254

235255
* xref:general::api-led-overview.adoc[]

modules/ROOT/pages/using-api-alerts.adoc

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,22 @@ include::_attributes.adoc[]
44
endif::[]
55
:keywords: alerts, api, api alerts
66

7-
Anypoint Platform alerts you about request behavior, performance issues, actions related to client application contracts, and runtime events. The platform supports three types of alerts: API alerts, contracts alerts, and runtime alerts. API alerts and contracts alerts are managed by Anypoint API Manager (API Manager). Runtime alerts are managed by Anypoint Runtime Manager (Runtime Manager).
7+
Anypoint Platform alerts you about request behavior, performance issues, actions related to client application contracts, and runtime events.
8+
9+
The platform supports three types of alerts:
10+
11+
* API alerts
12+
* Contracts alerts
13+
* Runtime alerts
14+
15+
API alerts and contracts alerts are managed by Anypoint API Monitoring.
16+
Runtime alerts are managed by Anypoint Runtime Manager (Runtime Manager).
17+
Refer to xref:gateway::flex-use-api-alerts.adoc[Using Flex Gateway API Alert] to learn how to use the new API Monitoring alerts.
18+
19+
NOTE: Customers who were already using legacy Analytics-based API Alerts on API Manager instead of API Monitoring can continue to access this functionality until November 30, 2024. This functionality is not available for new clients.
20+
21+
[NOTE]
22+
API Alerts aren't available on Hyperforce deployments.
823

924
== API Alerts
1025

@@ -51,6 +66,9 @@ After an alert is triggered, API Manager sends the first set of two notification
5166

5267
Note: API Alerts are sent from `[email protected]`. This cannot be customized.
5368

69+
The alert email can be sent before the corresponding sliding window has fully closed. +
70+
Although the alert condition is evaluated based on the sliding window, the condition may be met before all metrics for the window arrive. For example: If the alert condition is set to "error count > 1 in a 5-minute window" and 10 errors occur within the first minute, the alert email is sent during that first minute, even though the sliding window continues to accumulate metrics for the remaining 4 minutes.
71+
5472
== Contracts Alerts
5573

5674
API Manager automatically notifies users when actions related to contracts occur. For instance, when a client application requests access to an API instance, API Manager sends a notification with the status of the request. Depending on the configuration, status might indicate that the request is pending manual approval, or it might indicate that the request has been auto-approved.

0 commit comments

Comments
 (0)