Commit Graph

12 Commits

Author SHA1 Message Date
Stanley Liu e4d42e6632
Update runtime metrics to follow semantic conventions (#1735) 2023-04-04 01:54:35 +05:30
Rytis Bagdziunas 4a859e34d6
Remove custom arguments in object.__new__ of BaseInstrumentor (#1439)
* Add a test case to reproduce the issue

* Fix the class initialization when parameters are provided

* Update CHANGELOG.md

* Fix linting issues

* Additional test case which inits SystemMetricsInstrumentor twice

* Updated linting following update to black style

* Moved changelog entry to unreleased section

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2023-02-28 11:19:30 -06:00
Tom de Bruijn 78874df5c2
Fix install of Python 3.10 on GitHub Actions (#1609)
* Fix install of Python 3.10 on GitHub Actions

In PR #1604 the Python version was upgraded to Python 3.10 to fix a
local issue on M1 MacBooks.

The GitHub Action workflows now exit with the following message for the
docker-tests, spellcheck and lint checks, skipping these checks.

```
lint create: /home/runner/work/opentelemetry-python-contrib/opentelemetry-python-contrib/.tox/lint
SKIPPED: InterpreterNotFound: python3.10
___________________________________ summary ____________________________________
SKIPPED:  lint: InterpreterNotFound: python3.10
  congratulations :)
```

Upgrade the Python version in the GitHub Actions workflow to fix this.

* Fix YAML interpretation of Python 3.10

* Upgrade Docker tests dependencies

Upgrade the asyncpg and psycopg2 packages, they don't work on Python
3.10.

This also fixes running these tests no M1 MacBooks.

* Fix linter issues merged into main

They went unnoticed while the CI didn't fail on the lint task not
working.

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-03 08:37:24 +05:30
Yulin Li 8e0c8d954b
collect threads count in opentelemetry-instrumentation-system-metrics (#1339)
* collect threads count in opentelemetry-instrumentation-system-metrics

* update

* avoid devidedByZero exception when sawp memory is 0

* add ut

* change log

* lint

* lint

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-09-28 11:46:01 +01:00
Srikanth Chekuri 08db974e26
Revert "updated to remove directions from existing metrics. tests updated to … (#1213)" (#1346)
This reverts commit 270b73f55c.
2022-09-21 19:02:08 +02:00
petertamuk 270b73f55c
updated to remove directions from existing metrics. tests updated to … (#1214) 2022-09-08 11:03:26 -07:00
Diego Hurtado 9cb853e522
Use public metrics (#1093) 2022-05-17 09:36:08 +05:30
Alex Boten 40c1805b11
`opentelemetry-instrumentation-system-metrics` restore package (#1012) 2022-04-06 10:54:22 -07:00
Leighton Chen c265e2f035
Remove metrics from main branch (#312) 2021-02-05 16:41:03 -08:00
Srikanth Chekuri 744e961080
Update instrumentations (#232) 2020-12-07 08:29:57 -08:00
Diego Hurtado 80f73e675f instrumentation/system-metrics: Update System Metrics (#1019)
Fixes #1006
2020-09-03 17:19:13 -07:00
Leighton Chen 703fa43774 Rename remaining framework packages from "ext" to "instrumentation" (#969) 2020-08-04 19:10:51 -07:00