Skip to content

Commit

Permalink
Merge pull request #263 from Helene/prepare_8.0.2-prod
Browse files Browse the repository at this point in the history
Publish v8.0.2 release
  • Loading branch information
Helene authored Dec 18, 2024
2 parents e92b10a + 490eefb commit 2d5ba83
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 6 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM $BASE

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

ARG DEFAULTLOGLEVEL=15
ENV LOGLEVEL=$DEFAULTLOGLEVEL

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

Expand Down Expand Up @@ -139,7 +142,7 @@ RUN chown -R $UID:$GID /opt/IBM/bridge && \
# Switch user
USER $GID

CMD ["sh", "-c", "python3 zimonGrafanaIntf.py -c 10 -s $SERVER -r $PROTOCOL -b $BASICAUTH -u $BASICAUTHUSER -a $BASICAUTHPASSW -p $PORT -e $PROMETHEUS -P $SERVERPORT -t $TLSKEYPATH -l $LOGPATH -k $TLSKEYFILE -m $TLSCERTFILE -n $APIKEYNAME -v $APIKEYVALUE"]
CMD ["sh", "-c", "python3 zimonGrafanaIntf.py -c $LOGLEVEL -s $SERVER -r $PROTOCOL -b $BASICAUTH -u $BASICAUTHUSER -a $BASICAUTHPASSW -p $PORT -e $PROMETHEUS -P $SERVERPORT -t $TLSKEYPATH -l $LOGPATH -k $TLSKEYFILE -m $TLSCERTFILE -n $APIKEYNAME -v $APIKEYVALUE"]

EXPOSE 4242 8443 9250

Expand Down
10 changes: 10 additions & 0 deletions docs/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Version 8.0.2 (12/18/2024)
Added GPFSNSDPool, GPFSNSDFS sensors to the supported PrometheusExporter endpoints
Added LOGLEVEL to the Dockerfile editable command line arguments
Removed psutil package from Python requirements list

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



# Version 8.0.1 (12/10/2024)
Added HTTP Api REST endpoints allowing to query: \
- Performance Monitoring Tool sensors configuration in use \
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 Storage Scale bridge for Grafana packages by version number:
# Version 8.0.2 (12/18/2024)
Classic Scale:
- Python 3.9
- CherryPy 18.10.0
- IBM Storage Scale system must run 5.2.2 and above
- Grafana 11.0.0 and above

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

# Version 8.0.1 (12/10/2024)
Classic Scale:
- Python 3.9
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements_ubi.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
# setuptools
cherrypy
PyYAML
psutil
# psutil
# urllib3
# requests
2 changes: 0 additions & 2 deletions requirements/requirements_ubi9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ more-itertools==10.5.0
# jaraco-text
portend==3.2.0
# via cherrypy
psutil==6.1.0
# via -r /root/requirements_ubi.in
python-dateutil==2.9.0.post0
# via tempora
pyyaml==6.0.2
Expand Down
2 changes: 1 addition & 1 deletion source/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
@author: HWASSMAN
'''

__version__ = '8.0.1'
__version__ = '8.0.2'
2 changes: 2 additions & 0 deletions source/prometheus_endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"/metrics_gpfs_disk": "GPFSDisk",
"/metrics_gpfs_filesystem": "GPFSFilesystem",
"/metrics_gpfs_nsddisk": "GPFSNSDDisk",
"/metrics_gpfs_nsdpool": "GPFSNSDPool",
"/metrics_gpfs_nsdfs": "GPFSNSDFS",
"/metrics_gpfs_poolio": "GPFSPoolIO",
"/metrics_gpfs_vfsx": "GPFSVFSX",
"/metrics_gpfsioc": "GPFSIOC",
Expand Down

0 comments on commit 2d5ba83

Please sign in to comment.