Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics and support bundle 110 #3372

Merged

Conversation

lfitchett
Copy link
Contributor

No description provided.

lfitchett and others added 2 commits August 6, 2020 09:09
Adds the following metrics:

EdgeAgent metrics:
number of deployments (agent twin updates)
Time taken to apply deployment
number of successful IoT Hub syncs
number of unsuccessful IoT Hub syncs
number of times agent direct methods were invoked, per method.
number of "retries"
edgeagent version (hint: constant)

Device meta-data:
OS SKU/ distro 
H/W arch
IoT Edge daemon runtime version
Experimental features
* Rename logs => module logs

* make handler classes

* include new dm

* chkpnt

* start able to write to in memory

* fix types

* output to console

* fix flags

* start able to write to in memory

* fix types

* output to console

* fix flags

* re-enable tests

* import zip module and use display

* use --output - for stdout

* call support bundle

* parse params

* add new api version

* reuse http client

* flesh out request

* make logs uploader more generic

* fix merge issue

* bring in api changes

* fix version

* add get_result

* move support bundle logic to own file

* remove s

* collect bundle

* wrap read in body

* return support bundle size

* send full sb

* fix fileResponse

* read params

* parse_since

* pass hostname

* clippy

* re-enable first test

* add logs test back

* rename ILogsUPloader file to IRequestsUploader

* remove unused IDisposable

* get iothub hostname from edgeAgent

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
@kodiakhq kodiakhq bot merged commit b0a872a into Azure:release/1.0.10 Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants