SKA-ScienceDataProcessor / integration-prototype

SDP Integration Prototype
BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

Integration of prometheus alarms into SIP demo. #76

Closed david-terrett closed 5 years ago

david-terrett commented 5 years ago

Description:

Integration of Prometheus alarms demo into SIP.

To achieve this a set of additional services providing a Prometheus alarms backend are started and the EC Master Controller has been updated to set the value of an SDP state alarm (Prometheus) Gauge whenever the SDP state is in the 'alarm' state.

For more details see sip/platform/alarms/prometheus/README.md.

This completes [TSK-2707]

Testing instructions:

See sip/platform/alarms/prometheus/README.md

Types of changes

codecov[bot] commented 5 years ago

Codecov Report

Merging #76 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   86.07%   86.07%           
=======================================
  Files          59       59           
  Lines        2671     2671           
  Branches      221      221           
=======================================
  Hits         2299     2299           
  Misses        321      321           
  Partials       51       51
Impacted Files Coverage Δ
...control/processing_controller/scheduler/release.py 100% <100%> (ø) :arrow_up:
...rol/processing_block_controller/sip_pbc/release.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b29b2db...3987c4b. Read the comment docs.

david-terrett commented 5 years ago

Ben,

You need to give me (davidterrett) permission to write to the skasip docker repository (or something – I get “access to the resource denied” when I try to push an image).

David

From: Benjamin Mort notifications@github.com Sent: 01 February 2019 01:01 To: SKA-ScienceDataProcessor/integration-prototype integration-prototype@noreply.github.com Cc: Terrett, David (STFC,RAL,RALSP) david.terrett@stfc.ac.uk; Author author@noreply.github.com Subject: Re: [SKA-ScienceDataProcessor/integration-prototype] Integration of prometheus alarms into SIP demo. (#76)

@bmort commented on this pull request.

Overall this looks excellent. Before approving however a couple of minor things:

  1. I've taken the liberty of updating the PR description a bit to improve traceability in the git history. Could you check this and update accordingly if you think i've misunderstood or missed anything important.
  2. Could the new skasip/<***> images be pushed to Docker Hubhttps://cloud.docker.com/u/skasip - I'm happy to help with this if you like or need to get a Docker Hub account sorted out.
  3. Add some testing instructions to the PR description or a README.md file somewhere in the code with a pointer to that in the PR testing section.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/SKA-ScienceDataProcessor/integration-prototype/pull/76#pullrequestreview-198888974, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGuBMDh_q8vCxMdAB6p8WRABq3Ts9nBxks5vI5HTgaJpZM4aVvgK.

david-terrett commented 5 years ago

Ben,

What should I do with the version number of the master controller? It is currently 1.2.1 in master. Should I bump it to 1.2.2 or 1.3.0 (or even 2.0.0)?

David From: Benjamin Mort notifications@github.com Sent: 01 February 2019 01:01 To: SKA-ScienceDataProcessor/integration-prototype integration-prototype@noreply.github.com Cc: Terrett, David (STFC,RAL,RALSP) david.terrett@stfc.ac.uk; Author author@noreply.github.com Subject: Re: [SKA-ScienceDataProcessor/integration-prototype] Integration of prometheus alarms into SIP demo. (#76)

@bmort commented on this pull request.

Overall this looks excellent. Before approving however a couple of minor things:

  1. I've taken the liberty of updating the PR description a bit to improve traceability in the git history. Could you check this and update accordingly if you think i've misunderstood or missed anything important.
  2. Could the new skasip/<***> images be pushed to Docker Hubhttps://cloud.docker.com/u/skasip - I'm happy to help with this if you like or need to get a Docker Hub account sorted out.
  3. Add some testing instructions to the PR description or a README.md file somewhere in the code with a pointer to that in the PR testing section.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/SKA-ScienceDataProcessor/integration-prototype/pull/76#pullrequestreview-198888974, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGuBMDh_q8vCxMdAB6p8WRABq3Ts9nBxks5vI5HTgaJpZM4aVvgK.

david-terrett commented 5 years ago

All done…

David

From: Benjamin Mort notifications@github.com Sent: 01 February 2019 01:01 To: SKA-ScienceDataProcessor/integration-prototype integration-prototype@noreply.github.com Cc: Terrett, David (STFC,RAL,RALSP) david.terrett@stfc.ac.uk; Author author@noreply.github.com Subject: Re: [SKA-ScienceDataProcessor/integration-prototype] Integration of prometheus alarms into SIP demo. (#76)

@bmort commented on this pull request.

Overall this looks excellent. Before approving however a couple of minor things:

  1. I've taken the liberty of updating the PR description a bit to improve traceability in the git history. Could you check this and update accordingly if you think i've misunderstood or missed anything important.
  2. Could the new skasip/<***> images be pushed to Docker Hubhttps://cloud.docker.com/u/skasip - I'm happy to help with this if you like or need to get a Docker Hub account sorted out.
  3. Add some testing instructions to the PR description or a README.md file somewhere in the code with a pointer to that in the PR testing section.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/SKA-ScienceDataProcessor/integration-prototype/pull/76#pullrequestreview-198888974, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGuBMDh_q8vCxMdAB6p8WRABq3Ts9nBxks5vI5HTgaJpZM4aVvgK.