Is there a way to enable the ML integration for all monitors (or all monitors with a certain tag) at once?
Currently the Uptime ML integration is one of the few where it is not possible to set a prefix for the job. The result is the uptime ml jobs kind of clutter up the ML job management overview. Again, I could clone each job separately and configure a prefix myself, but this too is a long manual process.
Pls let me know the above features are worthy of a GH feature request and I'll make them.
I seem unable to clone the uptime jobs? Datafeed is stopped and job is closed. Is this expected?
Other stopped / closed jobs are clonable. How is the relationship between Uptime and their ML jobs created? Could I manually create an ml job which is linked to an uptime monitor?
@shahzad31 I'm trying to finetune these uptime ml jobs a bit and giving them the correct prefix in the meantime. Also I might try to script creation of the Uptime ML jobs. I can clone other (non-uptime- jobs without an issue. I definitely have a heartbeat-* index pattern, so that shouldn't be the issue.
Yes you are right, it's not a simple monitorID there is a special function which formats it a bit to remove special characters etc
I don't know how much JavaScript is you know this might be helpful
Also job should be created inside uptime ml module in ml app. Because that's how it queries the jobs and then matches job id against formatting monitorId again
@willemdh i think i figured out a reason why you can't clone uptime jobs, you need to create a more specific index pattern for heartbeat. Like it should be heartbeat-7* instead of heartbeat-*
you can use this to get ml job id from monitorid, that's what uptime ui will expect as ML Job Id.
Just end monitor name at end like 'android-homepage' and hit run.
Also once you clone job, make sure to add these filters for a specific monitor data, otherwise job will run on whole index
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.