edgexfoundry / app-service-configurable

Owner: Applications WG
Apache License 2.0
18 stars 47 forks source link

Unable to receive HTTPExportSize metrics #508

Closed cherrycl closed 1 year ago

cherrycl commented 1 year ago

🐞 Bug Report

Affected Services [REQUIRED]

The issue is located in: app-services ### Is this a regression? Yes ### Description and Minimal Reproduction [**REQUIRED**] This issue still existed after fixing edgexfoundry/app-functions-sdk-go#1266 1. Deploy EdgeX with attached compose file.(For the recreation I used the [TAF sample http server](https://github.com/edgexfoundry/edgex-taf/blob/35e89d7f1374b7c01018ead79fcab654574fdefc/TAF/utils/src/setup/httpd_server.py), If you use your own http server, please modify the compose file for HTTPExport URL parameter) 2. Set app-sample LogLevel to `DEBUG` 3. Set app-sample ExectionOrder to `HTTPExport` 4. Set HTTPExportSize Metrics to `true` [docker-compose-no-secty-with-app-sample.yml.zip](https://github.com/edgexfoundry/app-functions-sdk-go/files/10544059/docker-compose-no-secty-with-app-sample.yml.zip) ## πŸ”₯ Exception or Error

After the metrics default interval time(30s), No any didn't receive the metrics for HTTPExportSize.
`Publish 0 metrics to the 'edgex/telemetry/app-sample' base topic` found In app-sample log.
## 🌍 Your Environment **Deployment Environment:** x86 / Ubuntu **EdgeX Version [**REQUIRED**]:** Main **Anything else relevant?**
lenny-goodell commented 1 year ago

@cherrycl , this is because ASC was never updated to use latest SDK with the fix. It has now been updated. Please verify this has been resolved. THX!

cherrycl commented 1 year ago

@lenny-intel The issue was resolved. Thank you.