Skip to content

Commit

Permalink
Merge pull request #102 from mulesoft-catalyst/develop
Browse files Browse the repository at this point in the history
Release 1.7.1
  • Loading branch information
DavoCoder authored May 14, 2021
2 parents 4314825 + fe7007a commit becbf0e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Table of Contents
* [Final Notes](#final-notes)

# Metrics Accelerator
The **metrics accelerator** (**formerly metrics framework**) is a Mule application intended to collect, aggregate and load platform metrics into different visualization systems; providing out of the box integrations and visualization options, including useful dashboards and charts. In addition to the platform metrics, the accelerator also extends the capabilities to integrate with external applications like Jira, Confluence, Jenkins, Bitbucket and Splunk to gather SDLC metrics. This is an [UNLICENSED software, please review the considerations](UNLICENSE.md). If you need assistance for extending this, contact your Mulesoft Customer Success representative or MuleSoft Professional Services
The **metrics accelerator** (**formerly metrics framework**) is a Mule application intended to collect, aggregate and load platform metrics into different visualization systems; providing out of the box integrations and visualization options, including useful dashboards and charts. In addition to the platform metrics, the accelerator also extends the capabilities to integrate with external applications like Jira, Confluence, Jenkins, Bitbucket and Splunk to gather SDLC metrics. This is an [UNLICENSED software, please review the considerations](UNLICENSE.md). If you need assistance on extending this application, contact your MuleSoft Customer Success representative or MuleSoft Professional Services

## Features
- Compact Mule application (1 single application)
Expand Down Expand Up @@ -350,7 +350,7 @@ splunk.index.metrics | Index for storing Platform operational metrics | metrics
splunk.index.benefits | Index for storing Platform benefits | platform_benefits


> (*): Please note that by default, "Source Types" are created with a limit of 3000 characters. It is very likely that the Metrics Accelerator JSON event exceeds this limit. In order to solve that, you need to add a new property "TRUNCATE" in the Advanced configuration of the specific Source Type. For example: TRUNCATE = 10000
> (*): Please note that by default, "Source Types" are created with a limit of 3000 characters. The Metrics Accelerator JSON event might exceed this limit. In order to solve that, you must increase this limit adding a new property "TRUNCATE" in the Advanced configuration of the specific Source Type. For example: TRUNCATE = 40000. Depending of the size of your organization, in terms of Business Groups, environments and number of applications and APIs in each environment, this value can be higher.
### ELK steps

Expand Down
6 changes: 3 additions & 3 deletions dashboards/splunk/osv2__production.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<single>
<title>ObjectStore V2 - Production - Current Count</title>
<search>
<query>index=metrics | eventstats max(_time) as maxTimestamp | where _time=maxTimestamp | search businessGroup IN ($bgToken$) | stats values(osv2Metrics.stats.production.requestCount) as total | stats max(total) as "Request count"</query>
<query>index=metrics | eventstats max(_time) as maxTimestamp | where _time=maxTimestamp | search businessGroup IN ($bgToken$) | stats values(osV2Metrics.stats.production.requestCount) as total | stats max(total) as "Request count"</query>
<earliest>$timeToken.earliest$</earliest>
<latest>$timeToken.latest$</latest>
</search>
Expand All @@ -53,9 +53,9 @@
<panel>
<title>ObjectStore V2 - Production - Usage Growth - Timeline</title>
<chart>
<title>ObjectStore V3 - Production - Usage Growth - Timeline</title>
<title>ObjectStore V2 - Production - Usage Growth - Timeline</title>
<search>
<query>index=$platformMetricsIndex$ | search businessGroup IN ($bgToken$) | search osv2Metrics.stats.production.requestCount &gt; 0 | chart values(osv2Metrics.stats.production.requestCount) as "Request count" by _time, businessGroup</query>
<query>index=$platformMetricsIndex$ | search businessGroup IN ($bgToken$) | search osV2Metrics.stats.production.requestCount &gt; 0 | chart values(osV2Metrics.stats.production.requestCount) as "Request count" by _time, businessGroup</query>
<earliest>$timeToken.earliest$</earliest>
<latest>$timeToken.latest$</latest>
</search>
Expand Down
6 changes: 3 additions & 3 deletions dashboards/splunk/osv2__sandbox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<single>
<title>ObjectStore V2 - Sandbox - Current Count</title>
<search>
<query>index=metrics | eventstats max(_time) as maxTimestamp | where _time=maxTimestamp | search businessGroup IN ($bgToken$) | stats values(osv2Metrics.stats.sandbox.requestCount) as total | stats max(total) as "Request count"</query>
<query>index=metrics | eventstats max(_time) as maxTimestamp | where _time=maxTimestamp | search businessGroup IN ($bgToken$) | stats values(osV2Metrics.stats.sandbox.requestCount) as total | stats max(total) as "Request count"</query>
<earliest>$timeToken.earliest$</earliest>
<latest>$timeToken.latest$</latest>
</search>
Expand All @@ -53,9 +53,9 @@
<panel>
<title>ObjectStore V2 - Sandbox - Usage Growth - Timeline</title>
<chart>
<title>ObjectStore V3 - Sandbox - Usage Growth - Timeline</title>
<title>ObjectStore V2 - Sandbox - Usage Growth - Timeline</title>
<search>
<query>index=$platformMetricsIndex$ | search businessGroup IN ($bgToken$) | search osv2Metrics.stats.sandbox.requestCount &gt; 0 | chart values(osv2Metrics.stats.sandbox.requestCount) as "Request count" by _time, businessGroup</query>
<query>index=$platformMetricsIndex$ | search businessGroup IN ($bgToken$) | search osV2Metrics.stats.sandbox.requestCount &gt; 0 | chart values(osV2Metrics.stats.sandbox.requestCount) as "Request count" by _time, businessGroup</query>
<earliest>$timeToken.earliest$</earliest>
<latest>$timeToken.latest$</latest>
</search>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.mulesoft</groupId>
<artifactId>metrics-accelerator</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
<packaging>mule-application</packaging>

<name>metrics-accelerator</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd">
<flow name="api-call-osv2-stats-flow" doc:id="85ccc0f0-03cb-4654-8015-9f0d6af9399f"
maxConcurrency="${anypoint.platform.apis.cloudhub.maxConcurrency}">
maxConcurrency="${anypoint.platform.apis.osv2.maxConcurrency}">
<logger level="DEBUG" doc:name="Log OSv2 Stats Start" doc:id="276eff08-104d-489a-9674-42aec3d676e4" message="Calling OSv2 - Stats" />
<http:request method="GET" doc:name="Get OSv2 Stats Request" doc:id="cecc913e-f597-4028-a404-f915215a9c8b"
config-ref="HTTP_OSv2_Request_configuration" path="${anypoint.platform.apis.osv2.stats.path}" sendBodyMode="NEVER">
Expand Down

0 comments on commit becbf0e

Please sign in to comment.