Skip to content

Commit

Permalink
Initial Grafana plugin commit
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Nikolaev <[email protected]>
  • Loading branch information
DNikolaevAtRocket committed Nov 14, 2023
1 parent fc3d9fe commit 3f2ab95
Show file tree
Hide file tree
Showing 382 changed files with 225,024 additions and 0 deletions.
97 changes: 97 additions & 0 deletions .github/workflows/release-rmf-app-grafana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Release Grafana RMF App

on:
push:
tags:
- ibm-rmf-grafana/v*

jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
working-directory: grafana/rmf-app

steps:
- name: Check out
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: grafana/rmf-app/.nvmrc
cache: 'yarn'
cache-dependency-path: 'grafana/rmf-app/yarn.lock'

- name: Setup Golang
uses: actions/setup-go@v4
with:
go-version-file: grafana/rmf-app/go.mod
cache-dependency-path: grafana/rmf-app/go.sum

- name: Build
run: make all

- name: Fetch Release Notes
id: changelog
run: |
awk '/^## / {s++} s == 1 {print}' CHANGELOG.md > RELEASE_NOTES.md
- name: Upload Build
uses: actions/upload-artifact@v3
with:
name: rmf-app-grafana
path: |
grafana/rmf-app/RELEASE_NOTES.md
grafana/rmf-app/build/ibm-rmf-grafana-*
sign:
runs-on: code-sign
needs: build

steps:
- name: Download Build
uses: actions/download-artifact@v3
with:
name: rmf-app-grafana

- name: Sign
run: |
$env:Path = 'C:\Program Files (x86)\Garantir\GRS;' + $env:Path
gpg-agent
gpg --detach-sign -a build/ibm-rmf-grafana-*.zip
- name: Upload Signature
uses: actions/upload-artifact@v3
with:
name: rmf-app-grafana-signature
path: build/ibm-rmf-grafana-*.zip.asc

- name: Clean up
run: rm -r -force *

release:
runs-on: ubuntu-latest
needs: sign

steps:
- name: Download Build
uses: actions/download-artifact@v3
with:
name: rmf-app-grafana

- name: Download Signature
uses: actions/download-artifact@v3
with:
name: rmf-app-grafana-signature

- name: Release Draft
uses: softprops/action-gh-release@v1
with:
prerelease: false
draft: true
files: |
build/ibm-rmf-grafana-*
ibm-rmf-grafana-*.zip.asc
body_path: RELEASE_NOTES.md
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
# RMF

Resource Measurement Facility for z/OS

## IBM RMF for z/OS Grafana Plugin

The IBM® RMF for z/OS Grafana plugin provides effortless analysis and visualization of
RMF Monitor III metrics and reports within the Grafana platform.

See [IBM RMF for z/OS Grafana Plugin](grafana/rmf-app/README.md) for more details.
204 changes: 204 additions & 0 deletions docs/grafana/rmf-app/access_grafana_zosmf.html

Large diffs are not rendered by default.

189 changes: 189 additions & 0 deletions docs/grafana/rmf-app/alerts.html

Large diffs are not rendered by default.

210 changes: 210 additions & 0 deletions docs/grafana/rmf-app/apply_transformation.html

Large diffs are not rendered by default.

270 changes: 270 additions & 0 deletions docs/grafana/rmf-app/apply_visualize.html

Large diffs are not rendered by default.

221 changes: 221 additions & 0 deletions docs/grafana/rmf-app/config_contact_points.html

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions docs/grafana/rmf-app/context-help-map.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<map>
<appContext helpID="visual_grafana" path="visual_grafana.html"/>
<appContext helpID="rmf_plugin" path="rmf_plugin.html"/>
<appContext helpID="query_lang" path="query_lang.html"/>
<appContext helpID="rn" path="rn.html"/>
<appContext helpID="install_grafana_plugin" path="install_grafana_plugin.html"/>
<appContext helpID="create_datasources" path="create_datasources.html"/>
<appContext helpID="db_ovw" path="db_ovw.html"/>
<appContext helpID="create_dashboards" path="create_dashboards.html"/>
<appContext helpID="manage_dashboards" path="manage_dashboards.html"/>
<appContext helpID="apply_visualize" path="apply_visualize.html"/>
<appContext helpID="apply_transformation" path="apply_transformation.html"/>
<appContext helpID="variables" path="variables.html"/>
<appContext helpID="alerts" path="alerts.html"/>
<appContext helpID="creating_alert_rules" path="creating_alert_rules.html"/>
<appContext helpID="confi_contact_points" path="config_contact_points.html"/>
<appContext helpID="grafana_via_zosmf" path="grafana_via_zosmf.html"/>
<appContext helpID="define_grafana_zosmf" path="define_grafana_zosmf.html"/>
<appContext helpID="access_grafana_zosmf" path="access_grafana_zosmf.html"/>
<appContext helpID="historical_data" path="historical_data.html"/>
<appContext helpID="error_reports" path="error_reports.html"/>
</map>
218 changes: 218 additions & 0 deletions docs/grafana/rmf-app/create_dashboards.html

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions docs/grafana/rmf-app/create_datasources.html

Large diffs are not rendered by default.

275 changes: 275 additions & 0 deletions docs/grafana/rmf-app/creating_alert_rules.html

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions docs/grafana/rmf-app/cshelp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>Context Sensitive Help</title>
<script src="oxygen-webhelp/lib/jquery/jquery-3.5.1.min.js"></script>
<script data-main="oxygen-webhelp/app/cshelp-page.js" src="oxygen-webhelp/lib/requirejs/require.js"></script>
</head>
<body>
</body>
</html>
184 changes: 184 additions & 0 deletions docs/grafana/rmf-app/db_ovw.html

Large diffs are not rendered by default.

252 changes: 252 additions & 0 deletions docs/grafana/rmf-app/define_grafana_zosmf.html

Large diffs are not rendered by default.

Loading

0 comments on commit 3f2ab95

Please sign in to comment.