cancel
Showing results for 
Search instead for 
Did you mean: 

List started pipelines regardless of start date

kmiesse
Contributor

I need to determine which pipelines are currently running regardless of when they started. It appears the Pipeline Monitoring API only returns pipelines that have started within the last_hours parameter (although I can’t seem to determine proper values for the start and end parameters - they are defined as “timestamp in milliseconds” - milliseconds since when?).
We have continuously running pipelines that may have been started more than 90 days ago, which I believe is beyond the start limit of the Pipeline Monitoring API. I need this information to determine if all pipelines are executing as they should. How can I determine which pipelines are running regardless of their start date? Thanks in advance!

1 ACCEPTED SOLUTION

ken
Former Employee

As an interim solution, have you tried manipulating the data returned by the results of the Snaplex Monitoring API? There is quite a bit of information returned, but at a Snaplex node level, you will have visibility of all active runtime IDs in the active_pipelines array. The runtime IDs could then be resolved using the Pipeline Monitoring API to mine additional, granular details.

View solution in original post

18 REPLIES 18

ken
Former Employee

That is correct, Kim. The active pipeline runtimes returned by the API should all be active pipelines that the Control Plane sees as running regardless of when they the time at which they were started.

Wonderful. Thanks again.

@ken, do you know if the active_pipelines would be all in the Started state or could they be any one of the various states on startup like Prepared or Queued also?

ken
Former Employee

The runtime IDs returned can be in different states of activity. You would need to cross-reference them individually using the Pipeline Monitoring API to get that level of detail.