Select to view content in your preferred language

Email warnings when Velocity feed fails

465
12
06-02-2025 09:57 AM
DrewDowling
Frequent Contributor

Is there any way to configure email warnings when a Velocity feed fails? We have a HTTP poller feed and would like email warnings if the source becomes unavailable. Is this something we can configure?

The email warnings we get when a feed exceeds it 25KB limit is helpful. We would ideally like something like this if the HTTP poller get request fails.

Tags (2)
0 Kudos
12 Replies
DrewDowling
Frequent Contributor

Glad it helped

0 Kudos
JeffSilberberg
Frequent Contributor

Good Morning, 

   Since the June update, I have had a couple of instances of the RTA losing its connection to the Feed. Unfortunately, to date, this has not been noticed until well after log entries have expired, as when I go to look at the logs for any period/type, they are always empty.   So I don't see how I can open a Support case at this time. 

     My question is can you script look at the metrics for the RTA?  I think if I could generate an alert when they show zero activity or vary significantly from an expected norm?

    Thanks. 

 

 

 

0 Kudos
DrewDowling
Frequent Contributor

Well that's concerning. My script might work in your case.

This is typical output that a API returns for feed..metrics.items() If you know there should be features moving through the analytic and all your featurerate values are 0 then you could generate an alert.

In our case featurerate= 0 is the norm that we expect.

 

('itemId', 'edfgdsfg')
('timeInterval', '300s')
('percentCompute', 0.0)
('totalAvgRateIn', 0.0)
('totalAvgRateOut', 0.0)
('feeds', [{'nodeId': 'hdfggrdsfgfr', 'label': 'Genasys Active Evac Areas Dev', 'featureRate': 0.0, 'attributeRate': 0.0, 'featureRateNoGeometry': 0.0, 'featureRateNoTime': 0.0, 'errorCount': 0}])
0
('sources', [])
('tools', [
{'nodeId': '-1e87-ecb5-c3e9-f9484f14b247', 'label': 'Project-1', 'featureRate': 0.0, 'attributeRate': 0.0, 'featureRateNoGeometry': 0.0, 'featureRateNoTime': 0.0, 'errorCount': 0}, 
{'nodeId': '-558e-c7c8-9311-93bf27091588', 'label': 'Map Fields', 'featureRate': 0.0, 'attributeRate': 0.0, 'featureRateNoGeometry': 0.0, 'featureRateNoTime': 0.0, 'errorCount': 0}, 
{'nodeId': '-257b-203b-ac1e-f78e57f5064e', 'label': 'Project-1-2', 'featureRate': 0.0, 'attributeRate': 0.0, 'featureRateNoGeometry': 0.0, 'featureRateNoTime': 0.0, 'errorCount': 0}, 
{'nodeId': '-ff40-385f-eca7-7d8e6e0d272b', 'label': 'Map Fields-1', 'featureRate': 0.0, 'attributeRate': 0.0, 'featureRateNoGeometry': 0.0, 'featureRateNoTime': 0.0, 'errorCount': 0}, 
{'nodeId': '-12fe-4699-2497-5bc88d67975b', 'label': 'Merge', 'featureRate': 0.0, 'attributeRate': 0.0, 'featureRateNoGeometry': 0.0, 'featureRateNoTime': 0.0, 'errorCount': 0}, 
{'nodeId': '-4c00-e950-9d37-0668eae0c625', 'label': 'Detect Gaps', 'featureRate': 0.0, 'attributeRate': 0.0, 'featureRateNoGeometry': 0.0, 'featureRateNoTime': 0.0, 'errorCount': 0}, 
{'nodeId': '-fbc2-81a6-6fed-73256600be3a', 'label': 'Calculate Field', 'featureRate': 0.0, 'attributeRate': 0.0, 'featureRateNoGeometry': 0.0, 'featureRateNoTime': 0.0, 'errorCount': 0}
])