The 'http://weaver:4001/' URL seems to assume a docker-compose link connection between canarie-api (ie proxy) and the relevant services. However, looking at stats of relevant services (eg: https://hirondelle.crim.ca/canarie/Weaver/service/stats), invocations are all marked as 0 and Never accessed.
The cause might be related to how monitoring is inspected in logs. If CanarieAPI looks for the PUBLIC FQDN endpoint, (eg: https://hirondelle.crim.ca/weaver/ or https://hirondelle.crim.ca/twitcher/ows/proxy/weaver/, then there would never be a match with 'http://weaver:4001/'.
NOTE
Not 100% sure above is the cause. Needs further investigation.
Using optional-components/canarie-api-full-monitoring (which is active on Hirondelle), the full PUBLIC FQDN should be monitored as well...
To Reproduce
Steps to reproduce the behavior:
Spin up an instance with any service registered under CanarieAPI.
Call the service to generate logs what would be expected to be collected by the monitoring.
Look up the specific stats location of CanarieAPI for the targeted service.
Summary
The CanarieAPI template configurations seem to be invalid according to what CanarieAPI looks for in logs.
Details
Configurations define for example
The
'http://weaver:4001/'
URL seems to assume a docker-compose link connection betweencanarie-api
(ieproxy
) and the relevant services. However, looking at stats of relevant services (eg: https://hirondelle.crim.ca/canarie/Weaver/service/stats), invocations are all marked as 0 andNever
accessed.The cause might be related to how monitoring is inspected in logs. If CanarieAPI looks for the PUBLIC FQDN endpoint, (eg:
https://hirondelle.crim.ca/weaver/
orhttps://hirondelle.crim.ca/twitcher/ows/proxy/weaver/
, then there would never be a match with'http://weaver:4001/'
.NOTE Not 100% sure above is the cause. Needs further investigation. Using
optional-components/canarie-api-full-monitoring
(which is active on Hirondelle), the full PUBLIC FQDN should be monitored as well...To Reproduce
Steps to reproduce the behavior:
stats
location of CanarieAPI for the targeted service.Environment
Concerned Organizations