Skip to content

Commit

Permalink
Release 1.9.1 (#197)
Browse files Browse the repository at this point in the history
* Done with CoreServicesMetric - usersTotal pagination

* Added SDLC Metrics for Azure DevOps

* Removed extra logging and changed component names

* externalized dataweave scripts

* Update pom.xml

* Simplifying Postman collection

Simplified Postman collection to use only Environment vars rather than Global and Environment.
Added section to README on Postman collection usage
Removed toLowerCase() from pre-request scripts

* Update README.md

* corrected copy paste error

* Update README.md

* Update README.md

* Changed links to be relative

* Added secure properties list to mule-artifact.json

* Updated HTTP ELK Request Config to use defined property

* Fix for incorrect variable rawData

The variable rawData was set in the same Transform Message component as the variable loaderDetails, on which the DataWeave for rawData depends. Thus vars.rawData was not set correctly.

* Adding version to the Splunk forms according Splunk 9.0.0 specifications on https://docs.splunk.com/Documentation/Splunk/9.0.0/Viz/DashboardjQuery

* #195 Excluded secure property files from index

* Release 1.9.1

Co-authored-by: Andres Alleva <[email protected]>
Co-authored-by: Scott Ratliff <[email protected]>
Co-authored-by: richardmckinley <[email protected]>
Co-authored-by: Alberici <[email protected]>
Co-authored-by: Rodrigo Fuentes <[email protected]>
Co-authored-by: Victor Moreno <[email protected]>
Co-authored-by: Christina Bauer <[email protected]>
Co-authored-by: George Kroon <[email protected]>
  • Loading branch information
9 people authored Aug 18, 2022
1 parent 9c1bc5b commit 13b9f14
Show file tree
Hide file tree
Showing 51 changed files with 565 additions and 60 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ Table of Contents
* [Steps](#steps)
* [Properties configurations](#properties-configurations)
* [SDLC metrics collectors properties configuration](#sdlc-metrics-collectors-properties-configuration)
* [Postman Collection](#postman-collection)
* [Splunk steps](#splunk-steps)
* [Properties specific for Splunk](#properties-specific-for-splunk)
* [ELK steps](#elk-steps)
* [Properties specific for ELK](#properties-specific-for-elk)
* [Tableau steps](#tableau-steps)
* [MongoDB steps](#mongodb-steps)
* [Properties specific for MongoDB](#properties-specific-for-mongodb)
* [SFDC-Einstein Analytics Steps](#einstein-analytics-dashboard-steps)
* [SFDC-Einstein Analytics Steps](#sfdc-steps)
* [Considerations](#considerations)
* [Some Theory around the Toolkit](#some-theory-around-the-toolkit)
* [Business Needs](#business-needs)
Expand Down Expand Up @@ -328,6 +329,8 @@ sdlc.splunk.password | Password to access REST APIs |

**NOTE:** Please note that each external system collector should be self-contained, it means that all associated configuration must be part of the Mule configuration file itself and must not be externalized inside the `global.xml`

### Postman Collection
A Postman collection which contains sample API requests is included under /postman/postman_collection.json. To import this, open Postman and click File > Import, and select the .json file. The collection contains documentation describing prerequisites and setup. Clicking the collection folder opens the documentation window. A number of Environment variables are needed. A template environment is also included under /postman/environment_template.json. To import into Postman, click Environemts > Import and select the .json file. Populate the variables with accurate values.

### Splunk steps

Expand Down Expand Up @@ -575,3 +578,10 @@ How to link business needs, measurements and data sources?

## Final Notes
Enjoy and provide feedback / contribute :)


## Common Errors

### Permission errors
- All `403` errors, specifically, for the endpoint related to RTF deployments /hybrid/api/v2/ are permissions issues, be sure the user/connected-app has the right permissions (Runtime Manager and Runtime Fabric specifically): [Requirements](#requirements)

2 changes: 1 addition & 1 deletion dashboards/splunk/access_management.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Access Management Metrics</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>API Manager and Analytics Metrics - Production</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/api_manager_and_analytics__sandbox.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>API Manager and Analytics Metrics- Sandbox</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/current__consolidated.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Metrics Toolkit - Current - Consolidated</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/design_center.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Design Center Metrics</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/exchange.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Exchange Metrics</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/mq__production.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Anypoint MQ Metrics - Production</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/mq__sandbox.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Anypoint MQ Metrics - Sandbox</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/osv2__production.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>OSv2 Metrics - Production</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/osv2__sandbox.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>OSv2 Metrics - Sandbox</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/platform_benefits.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Platform Benefits Metrics</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Runtime Manager - CloudHub - Networking Metrics</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Runtime Manager - CloudHub Metrics - Production</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/runtime_manager__cloudhub__sandbox.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Runtime Manager - CloudHub Metrics - Sandbox</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/runtime_manager__rtf__capacity.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Runtime Manager - RTF - Capacity</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/runtime_manager__rtf__production.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Runtime Manager - RTF Metrics - Production</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/runtime_manager__rtf__sandbox.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Runtime Manager - RTF Metrics - Sandbox</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Runtime Manager - Standalone Metrics - Production</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
2 changes: 1 addition & 1 deletion dashboards/splunk/runtime_manager__standalone__sandbox.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<form>
<form version="1.1">
<label>Runtime Manager - Standalone Metrics - Sandbox</label>
<fieldset submitButton="false">
<input type="multiselect" token="bgToken" searchWhenChanged="true">
Expand Down
31 changes: 30 additions & 1 deletion mule-artifact.json
Original file line number Diff line number Diff line change
@@ -1 +1,30 @@
{"minMuleVersion":"4.4.0"}
{
"secureProperties": [
"auth.orgId",
"auth.username",
"auth.password",
"auth.clientId",
"auth.clientSecret",
"ignoreLists.organizations",
"ignoreLists.environments",
"splunk.token",
"elk.user",
"elk.password",
"mongodb.username",
"mongodb.password",
"sdlc.confluence.user",
"sdlc.confluence.token",
"sdlc.bitbucket.user",
"sdlc.bitbucket.token",
"sdlc.jira.user",
"sdlc.jira.token",
"sdlc.jenkins.user",
"sdlc.jenkins.token",
"sdlc.splunk.user",
"sdlc.splunk.password",
"sfdc.username",
"sfdc.password",
"sfdc.securityToken"
],
"minMuleVersion":"4.4.0"
}
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-toolkit</artifactId>
<version>1.9.0</version>
<version>1.9.1</version>
<packaging>mule-application</packaging>

<name>metrics-toolkit</name>
Expand Down
56 changes: 56 additions & 0 deletions postman/environment_template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"id": "895c16d3-7559-4c95-8cbb-727d7d104b23",
"name": "Metrics Toolkit - Template",
"values": [
{
"key": "url",
"value": "http://localhost:8081",
"enabled": true
},
{
"key": "anypointOrg",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "credentialType",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "anypointUsername",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "anypointPassword",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "isPlaintextSecret",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "connectedAppId",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "connectedAppSecret",
"value": "",
"type": "default",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2022-01-28T15:48:03.890Z",
"_postman_exported_using": "Postman/9.10.1"
}
Loading

0 comments on commit 13b9f14

Please sign in to comment.