Skip to content

Commit

Permalink
Merge pull request #109 from Helene/v7.0.9
Browse files Browse the repository at this point in the history
publish V7.0.9
  • Loading branch information
Helene authored Aug 20, 2023
2 parents c1d518e + df878f6 commit ad8dc2b
Show file tree
Hide file tree
Showing 91 changed files with 8,497 additions and 79 deletions.
21 changes: 12 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG BASE=registry.access.redhat.com/ubi8/ubi:8.7
ARG BASE=registry.access.redhat.com/ubi9/ubi:9.2
FROM $BASE

LABEL com.ibm.name="IBM Spectrum Scale bridge for Grafana"
LABEL com.ibm.vendor="IBM"
LABEL com.ibm.version="7.0.8"
LABEL com.ibm.version="7.0.9"
LABEL com.ibm.url="https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana"
LABEL com.ibm.description="This tool translates the IBM Spectrum Scale performance data collected internally \
to the query requests acceptable by the Grafana integrated openTSDB plugin"
Expand Down Expand Up @@ -59,13 +59,18 @@ ARG DEFAULTLOGPATH='/var/log/ibm_bridge_for_grafana'
ENV LOGPATH=$DEFAULTLOGPATH
RUN echo "the log will use $LOGPATH"

COPY ./requirements/requirements_ubi8.txt /root/requirements_ubi8.txt
COPY ./requirements/requirements_ubi9.txt /root/requirements_ubi9.txt
# COPY ./requirements/requirements_ubi.in /root/requirements_ubi.in

RUN yum install -y python36 python36-devel && \
/usr/bin/pip3 install --upgrade pip && \
/usr/bin/pip3 install -r /root/requirements_ubi8.txt && \
RUN yum install -y python39 python3-pip

# RUN /usr/bin/python3 -m pip install pip-tools && \
# /usr/bin/python3 -m piptools compile /root/requirements_ubi.in --output-file /root/requirements_ubi9.txt && \
# echo "Compiled python packages: $(cat /root/requirements_ubi9.txt)"

RUN /usr/bin/python3 -m pip install -r /root/requirements_ubi9.txt && \
echo "Installed python version: $(/usr/bin/python3 -V)" && \
echo "Installed python packages: $(/usr/bin/pip3 list)"
echo "Installed python packages: $(/usr/bin/python3 -m pip list)"

USER root

Expand Down Expand Up @@ -95,7 +100,6 @@ RUN chgrp -R $GID /opt/IBM/bridge && \
chgrp -R $GID /opt/IBM/zimon && \
chgrp -R $GID /var/mmfs/gen && \
chgrp -R $GID /etc/ssl/certs && \
chgrp -R $GID /var/mmfs/gen && \
chgrp -R $GID /etc/perfmon-api-keys && \
chgrp -R $GID $TLSKEYPATH && \
chgrp -R $GID $LOGPATH
Expand All @@ -105,7 +109,6 @@ RUN chmod -R g=u /opt/IBM/bridge && \
chmod -R g=u /opt/IBM/zimon && \
chmod -R g=u /var/mmfs/gen && \
chmod -R g=u /etc/ssl/certs && \
chmod -R g=u /var/mmfs/gen && \
chmod -R g=u /etc/perfmon-api-keys && \
chmod -R g=u $TLSKEYPATH && \
chmod -R g=u $LOGPATH
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
[![CircleCI](https://circleci.com/gh/IBM/ibm-spectrum-scale-bridge-for-grafana.svg?style=svg)](https://app.circleci.com/pipelines/github/IBM/ibm-spectrum-scale-bridge-for-grafana?branch=master)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5787/badge)](https://bestpractices.coreinfrastructure.org/projects/5787)

The ***IBM Spectrum Scale bridge for Grafana*** could be used for exploring IBM Spectrum Scale performance data on [Grafana dashboards](https://grafana.com/grafana/).
The ***IBM Spectrum Scale bridge for Grafana*** could be used for exploring IBM Storage Scale performance data on [Grafana dashboards](https://grafana.com/grafana/).

Grafana Bridge is a standalone Python application. It translates the IBM Spectrum Scale metadata and performance data collected by the [IBM Spectrum Scale performance monitoring tool (ZiMon)](https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1adv_PMToverview.htm) to the query requests acceptable by the [Grafana integrated openTSDB plugin](https://grafana.com/docs/features/datasources/opentsdb/).
Grafana Bridge is a standalone Python application. It translates the IBM Storage Scale metadata and performance data collected by the [IBM Storage Scale performance monitoring tool (ZiMon)](https://www.ibm.com/docs/en/storage-scale/5.1.8?topic=monitoring-using-performance-tool) to the query requests acceptable by the [Grafana integrated openTSDB plugin](https://grafana.com/docs/features/datasources/opentsdb/).


<p align="center">
<img src="/docs/bridge_overview.PNG" />
<img src="/docs/grafana_bridge_overview.png" />
</p>


## Getting started

### Installation guides:

* [Setup the grafana bridge on a classic IBM Spectrum Scale cluster](https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/Setup-the-IBM-Spectrum-Scale-Performance-Monitoring-Bridge-for-classic-IBM-Spectrum-Scale-devices)
* [Setup the grafana bridge on a classic IBM Storage Scale cluster](https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/Setup-the-IBM-Spectrum-Scale-Performance-Monitoring-Bridge-for-classic-IBM-Spectrum-Scale-devices)
* [Run the grafana bridge in a docker container](https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/Running-the-IBM-Spectrum-Scale-Performance-Monitoring-Bridge-in-a-docker-container)
* [Setup the grafana bridge for performance monitoring of a CNSA cluster in a k8s OCP environment](https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/Setup-Grafana-for-monitoring-a-CNSA-cluster--in-a-k8s-OCP-environment)

Expand Down
12 changes: 12 additions & 0 deletions docs/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Version 7.0.9 (08/20/2023)
Changed the Dockerfile parent image to the registry.access.redhat.com/ubi9/ubi:9.2 \
Added example yaml files for Deploying Grafana instance on an Openshift cluster via Grafana-operator v5. \
Added example yaml files for Deploying grafana-bridge as Grafanadatasource on an Openshift cluster via Grafana-operator v5. \
Added example yaml file for grafana-bridge service route allowing an external Grafana instance query data from grafana-bridge running inside an Openshift cluster\
Added example Dashboards compatible with Grafana 9.5 \

Tested with Grafana version 9.5
Tested with RedHat community-powered Grafana operator v.5



# Version 7.0.8 (12/06/2022)
Changed the Dockerfile parent image to the registry.access.redhat.com/ubi8/ubi:8.7 \
Made Dockerfile compatibe with OpenShift style allowing to specify user/group settings at the image build time. \
Expand Down
11 changes: 11 additions & 0 deletions docs/SUPPORT_MATRIX.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
The following matrix gives a quick overview of the supported software for the IBM Spectrum Scale bridge for Grafana packages by version number:
# Version 7.0.9 (08/20/2023)
Classic Scale:
- Python 3.9
- CherryPy 18.8.0
- IBM Storage Scale system must run 5.1.7 and above
- Grafana 9.5.0 and above

Cloud native:
- IBM Storage Scale Container Native Storage Access(CNSA) devices having minReleaseLevel 5.1.7
- RedHat community-powered Grafana-Operator v5

# Version 7.0.8 (12/06/2022)
Classic Scale:
- Python 3.8
Expand Down
Binary file removed docs/bridge_overview.PNG
Binary file not shown.
Binary file added docs/grafana_bridge_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions examples/grafana_dashboards/Dashboards_older_versions/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Example dashboards

Example dashboards can easily be imported in a running Grafana environment.
Follow these [instructions](https://grafana.com/docs/grafana/latest/reference/export_import/) to import your preferred dashboard into your Grafana installation.
The Grafana provisioning feature might be helpful, if you are going to import multiple dashboards. For more info please read [Make usage of Grafana Provisioning feature](https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/Make-usage-of-Grafana-Provisioning-feature)


## Default Dashboards set

This directory contains such dashboards that could form the basis of a performance analysis for an IBM Spectrum Scale cluster.


## Advanced Dashboards set

This directory summarizes those dashboards that allow a deeper analysis of individual components, such as GPFSWaiters or Filesets Capacity Utilization


## Example Dashboards bundle

With the bridge version 4, the new collection of example dashboards "Example Dashbords bundle" has been added to the available for free download resources. These new dashboards could be used for managing a multi-cluster environment. Also the "Default Dashboards set" and "Advanced Dashboards set" have been merged into this download package.

The package content consists of several folders:

- Predefined Basic Dashboards - including all dashboard examples from "Default Dashboard set" package
- Advanced Dashboards - including all dashboard examples from "Advanced Dashboards set" package
- HOWTO - including dashboard examples with learning effect, f.e. Grafana's helpful features
- NamedQueries - including dashboard examples for monitoring Linux(Network) metrics
- Protocols - including dashboard examples for monitoring SMB and NFS metrics
- TCT - including dashboard examples for monitoring TCT/cloud data transfers

You can create the same folder structure in your running Grafana environment via provisioning folders structure from filesystem to Grafana.
Follow [step-by-step instructions](https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/Make-usage-of-Grafana-Provisioning-feature#provision-the-example-dashboards-bundle-collection-with-folders-structure-to-grafana) available in the project Wiki.


Loading

0 comments on commit ad8dc2b

Please sign in to comment.