Commit Graph

1135 Commits

Author SHA1 Message Date
Leighton Chen f7ba3ba516
update (#337) 2021-02-16 14:27:31 -08:00
Leighton Chen 9c1f98d250
Update main after 1.0.0rc1 release from core (#333) 2021-02-16 09:35:18 -08:00
Diego Hurtado 138927abe6
Update util path (#319) 2021-02-12 10:52:25 -08:00
alrex 0fe9096bfc
Update span interface usage (#324) 2021-02-09 12:31:03 -08:00
alrex 499899a601
remove reference folder (#326) 2021-02-09 09:54:41 -08:00
alrex b0f7268fb0
Update README to link to GitHub Discussions (#325) 2021-02-09 09:11:48 -08:00
Michael Stella 5fc26d3264
gRPC streaming bugfix (#260) 2021-02-08 11:15:48 -08:00
alrex 7bd1d904b2
Ensure resources are not mutated (#310) 2021-02-08 10:54:13 -08:00
Leighton Chen c265e2f035
Remove metrics from main branch (#312) 2021-02-05 16:41:03 -08:00
Michael Stella ade29f692b
gRPC instrumentation: client additions (#269)
The docs on metric labels suggests that they should probably be strings,
and all others I can find are strings, and so these ought to be also.
Otherwise, some of the exporters/processors have to handle things
specifically, and not all of these come out as nice as could be when you
`str()` them.

I've also made sure to use the `StatusCode` name, as that's the
interesting thing.

Finally, there's no need to report specifically that `error=false`, so
I've removed that tag.
2021-02-05 09:09:57 -08:00
Garner Jervis Tan 55efeb6063
Case insensitive header key retrieval for asgi instrumentation (#308) 2021-02-05 08:51:06 -08:00
alrex b53b9a012f
Fix failing aiopg tests (#317) 2021-02-04 17:39:24 -08:00
alrex b016f6f774
update requirements for snappy (#314) 2021-02-04 15:10:10 -08:00
Diego Hurtado 2fd68a2bf9
Remove Configuration from instrumentations (#285) 2021-02-04 08:02:37 -08:00
Mario Jonke f0adb23143
Remove 'component' span attribute in instrumentations (#301) 2021-01-29 13:15:26 -08:00
alrex f022385e37
update references to main (#306) 2021-01-29 12:09:22 -08:00
M.J 5dd2412d75
Aiohttp instrumentation readme (#286) 2021-01-28 09:12:31 -08:00
alrex fcc260c748
update python version for readthedocs (#297) 2021-01-26 09:51:37 -08:00
alrex f279d39623
updating readme (#296)
Adding more details to the readme including a link to the read the docs
2021-01-26 09:35:37 -08:00
(Eliseo) Nathaniel Ruiz Nowell c9075cf1f2
Add readTheDocs (#252)
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
Co-authored-by: alrex <aboten@lightstep.com>
2021-01-26 09:06:39 -08:00
Morgan McLean f3a078296c
Added Zoom passcode (#295) 2021-01-26 08:15:47 -08:00
alrex 08e82a92d7
[post-release] updating version to 0.18.dev0 (#289) 2021-01-21 09:10:30 -08:00
alrex 2a11aeeafa
[pre-release] Update changelogs, version [0.17b0] (#287) 2021-01-20 16:01:24 -08:00
Srikanth Chekuri b3aa7a79d3
Update TraceState (#276) 2021-01-20 12:13:12 -08:00
Owais Lone 8b9202be6f
Updated dbapi and psycopg2 instrumentations. (#246)
Changes:

- Update dbapi instrumentation to use the SQL statement name as the span
instead of the entire SQL query.
- Renamed TracedCursor with CursorTracing. The class was not a valid
Cursor so the name was confusing.
- Updated CursorTracing's (previously TracedCursor) traced_execution
method to accept the cursor instance as the first argument. This is
required as for some dbapi implementations, we need a reference to the
cursor in order to correctly format the SQL query.
- Updated psycopg2 instrumentation to leverage dbapi's `cursor_factory`
mechanism instead of wrapping the cursor with wrapt. This results in a
simpler instrumentation without monkey patching objects at runtime and
allows psycopg2's type registration system to work. This should make it
possible to use psycopg2 instrumentation when using the JSONB feature or
with frameworks like Django.
2021-01-20 10:45:28 -08:00
Owais Lone 8c8f2785bd
SQLAlchemy: Use SQL operation and DB name as the Span name (#254)
Current instrumentation uses the entire SQL query as the operation name
which makes traces very hard to read and understand in addition to
introducing high-cardinality issues. This commit fixes the problem by
using only the SQL operation name and the DB name instead of the entire
query.
2021-01-20 08:41:19 -08:00
Leighton Chen d12f67fc31
Fix ids_generator references from moving from api to sdk (#283) 2021-01-11 12:40:38 -08:00
Srikanth Chekuri 57b8106edc
Fix AttributeError: __aexit__ for aiopg.connect and aiopg.create_pool (#235) 2021-01-08 08:56:38 -08:00
Dave Grochowski cb01a6bcb7
Use instanceof to check if responses are valid Response objects (#273) 2021-01-07 18:24:19 -08:00
alrex 8abed07184
fix docker-tests build (#282) 2021-01-06 20:39:12 -08:00
Thomas Desrosiers 21a5c164fa
Adds back retry_attempts to botocore (#275) 2021-01-05 17:27:18 -08:00
Michael Stella 5a6c4f6fd2
datadog-exporter: bugfix for unintentional type change (#261) 2021-01-05 09:58:47 -08:00
Owais Lone 9fea7f7a27
Ensure SQLAlchemy spans have kind set to CLIENT (#278)
SQLAlchemy spans were missing kind field and it was being set to
internal instead of client. This commit changes sqlalchemy spans to have
kind set to "client" instead.
2021-01-05 09:05:58 -08:00
Owais Lone 472f845381
Upgrade isort and enable black compat mode (#248) 2021-01-05 07:23:53 -08:00
Shovnik Bhattacharya df79be6ea9
Add CodeQL analysis (#277) 2020-12-31 12:52:03 -08:00
(Eliseo) Nathaniel Ruiz Nowell cfaa2b7fff
Set max number of commits in performance graph (#270) 2020-12-22 16:32:58 -08:00
Michael Manganiello f9ea61cfd8
Celery: Add support for new major version 5.x (#266) 2020-12-22 15:48:23 -08:00
Azfaar Qureshi f6f5b90aeb
Prometheus Remote Write Exporter (6/6) (#227)
* adding README

adding sample app

adding examples readme

fixing lint errors

linting examples

updating readme tls_config example

excluding examples

adding examples to exclude in all linters

adding isort.cfg skip

changing isort to path

ignoring yml only

adding it to excluded directories in pylintrc

only adding exclude to directory

removing readme.rst and adding explicit file names to ignore

adding the rest of the files

adding readme.rst back

adding to ignore glob instead

reverting back to ignore list

converting README.md to README.rst

* addressing readme comments

* adding link to spec for details on aggregators

* updating readme

* adding python-snappy to setup.cfg
2020-12-22 11:06:22 -08:00
Leighton Chen 65801c31d8
Fix requests and urllib instrumentations span name callback parameters (#259) 2020-12-16 08:17:23 -08:00
Max Nikitenko 187987d9cc
Feature/urllib instrumentation (#222) 2020-12-15 10:11:33 -08:00
João Sampaio 20c1cb994b
When Flask activation is missing, do not emit a log message (#253)
If a Flask request doesn't have an active span, it just means that it
was initialized via a mechanism that doesn't run `before_request`, like
`app.test_request_context` or even manually. It is okay and
instrumentation still works.
2020-12-15 09:53:07 -08:00
Leighton Chen dc24b9d0b4
Fix build (#258) 2020-12-15 08:30:01 -08:00
(Eliseo) Nathaniel Ruiz Nowell 4b830771d5
Only commit benchmark results to master folder (#250) 2020-12-14 14:16:11 -08:00
Diego Hurtado e5a0153794
Add test case for DataDog fields and AWS SDK Extension (#231) 2020-12-11 12:48:01 -08:00
(Eliseo) Nathaniel Ruiz Nowell 91bfc9afe5
Add performance tests to AWS SDK Extension (#243) 2020-12-11 11:22:17 -08:00
Michael Stella be463c548a
gRPC client instrumentation docs fixes (#245) 2020-12-11 10:18:16 -08:00
Sergei Malafeev 11a06db3d5
Rename "host.port" attribute to "net.host.port" (#242) 2020-12-11 07:55:11 -08:00
Michael Stella a7aa662fe5
Add more tests, fix compliance to semantics (#236) 2020-12-10 10:44:26 -08:00
Azfaar Qureshi 6514f37177
Prometheus Remote Write Exporter (5/6) (#216) 2020-12-09 10:46:31 -08:00
alrex ae70d5abe5
Combine changelogs (#239) 2020-12-08 16:20:29 -08:00