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

Sync #1

Merged
merged 43 commits into from
Jun 9, 2020
Merged

Sync #1

merged 43 commits into from
Jun 9, 2020

Commits on May 20, 2020

  1. api: Handle boolean, integer and float values in Configuration (#662)

    Many times, configuration values are just boolean values. The Configuration object now only returns the literal configuration value. It would be useful to have this object return True instead of "True" to keep code a bit shorter
    ocelotl committed May 20, 2020
    Configuration menu
    Copy the full SHA
    9e58b8a View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. ext/psycopg2: Implement BaseInstrumentor interface (#694)

    - Implemented BaseInstrumentor interface to enable auto-instrumentation
    - Added integration tests (same tests as other db integrations)
    cnnradams committed May 21, 2020
    Configuration menu
    Copy the full SHA
    2d9c8df View commit details
    Browse the repository at this point in the history
  2. docs: Consolidate getting started guide and remove duplicated examples (

    #658)
    
    There are some examples that are duplicated in the getting started guide and in
    the examples folder itself. This commit removes the duplicated examples and
    updates the getting started guide to include then from real source files that
    are passed through the linter and have tests.
    
    Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
    Co-authored-by: alrex <aboten@lightstep.com>
    3 people committed May 21, 2020
    Configuration menu
    Copy the full SHA
    2249748 View commit details
    Browse the repository at this point in the history
  3. infra: accelerate builds (#693)

    Some build time improvements:
    
    - split lint/docker-tests/docs into their own steps. Since lint is usually the thing that fails anyways, it's good to have it run first. We could make the build depend on this step to prevent slowing other builds waiting in the pipeline (since we only have 5 workers)
    - move all pip install commands into a single line per test environment. this reduces the overhead of calling the pip command separately multiple times per environment.
    - removed pip upgrade command for pypy3 and py38
    alrex committed May 21, 2020
    Configuration menu
    Copy the full SHA
    ae533f7 View commit details
    Browse the repository at this point in the history
  4. SQLite3 Instrumentation (#719)

    Adds instrumentation for python sqlite3 library.
    cnnradams committed May 21, 2020
    Configuration menu
    Copy the full SHA
    58b7bcc View commit details
    Browse the repository at this point in the history
  5. sdk: Specify to_json indent from arguments (#718)

    We want to get a json of span without indent, but it's not possible with Span#to_json because the method uses hard-coded indent. We currently use a workaround of json.loads(span.to_json()) which is not efficient in the performance.
    
    Co-authored-by: alrex <aboten@lightstep.com>
    Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
    3 people committed May 21, 2020
    Configuration menu
    Copy the full SHA
    b4e135b View commit details
    Browse the repository at this point in the history

Commits on May 22, 2020

  1. ext/Zipkin - Transform resource to tags when exporting (#707)

    Implement the missing part of exporting the TraceProvider resource into Zipkin.
    Same as in js. Resources are now included into span tags.
    
    Co-authored-by: alrex <aboten@lightstep.com>
    Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
    3 people committed May 22, 2020
    Configuration menu
    Copy the full SHA
    97b7c22 View commit details
    Browse the repository at this point in the history
  2. datadog: Add Datadog propagator (#705)

    This adds DatadogFormatfor extracting and injecting trace contexts with Datadog-specific headers.
    majorgreys committed May 22, 2020
    Configuration menu
    Copy the full SHA
    f15d76a View commit details
    Browse the repository at this point in the history

Commits on May 23, 2020

  1. opencensus: Rename otcollector to opencensus (#695)

    renaming otcollector to opencensus, as it's using opencensus under the hood. This was originally intended to be replaced by otlp, by a new package can be created for that instead. 
    
    Co-authored-by: alrex <alrex.boten@gmail.com>
    ocelotl and codeboten committed May 23, 2020
    Configuration menu
    Copy the full SHA
    46f8f64 View commit details
    Browse the repository at this point in the history
  2. sdk: Span.resource will now default to an empty resource (#724)

    Right now, A resource object attached to a Span can be None. That means that there's two similar objects that refer to an empty resource: None, and the _EMPTY_RESOURCE global.
    
    We should just always default to the _EMPTY_RESOURCE object: this avoids None checks in exporters.
    
    Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
    yashmehrotra and toumorokoshi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    0e9a8e4 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2020

  1. sdk: Add a unit test for to_json (#725)

    Adding a unit test to the to_json method in the span.
    
    Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
    dtaniwaki and toumorokoshi committed May 24, 2020
    Configuration menu
    Copy the full SHA
    c88e585 View commit details
    Browse the repository at this point in the history
  2. docs: fix imports for pymongo and psycopg2 (#723)

    Incorrect import documentation in both pymongo and psycopg2.
    majorgreys committed May 24, 2020
    Configuration menu
    Copy the full SHA
    b799e54 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. ext/django: django downgrade to 1.10 (#717)

    Adding support for django 1.10+
    HiveTraum committed May 25, 2020
    Configuration menu
    Copy the full SHA
    93e7db8 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2020

  1. Configuration menu
    Copy the full SHA
    e0fd435 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b51a518 View commit details
    Browse the repository at this point in the history
  3. infra: adding step to publish action (#733)

    Adding a step to test that uploading packages to pypi should work.
    
    This should prevent issues that occurred in the release of 0.7.0 from happening where a classifier was set incorrectly (3 - Beta), causing pypi to return a 400 and fail publishing packages.
    alrex committed May 26, 2020
    Configuration menu
    Copy the full SHA
    027f61f View commit details
    Browse the repository at this point in the history
  4. infra: removing workflow, updating script (#734)

    More work to improve release process:
    
    - adding RELEASING.md file to describe release process
    - updated prepare_release.sh script to allow it to be run manually by maintainers
    - removed workflow to automatically publish PR, current recommendation from otel technical committee is not to use bot accounts
    alrex committed May 26, 2020
    Configuration menu
    Copy the full SHA
    1ee85c8 View commit details
    Browse the repository at this point in the history
  5. chore: amend changelogs (#737)

    alrex committed May 26, 2020
    Configuration menu
    Copy the full SHA
    06bab74 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. aiohttp_client: fix propagation of traceparent in aiohttp_client (#709)

    Fix propagation of aiohttp client traces, which were not properly injected previously.
    
    Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
    ecourreges-orange and toumorokoshi committed May 27, 2020
    Configuration menu
    Copy the full SHA
    bc3ee80 View commit details
    Browse the repository at this point in the history
  2. Introduce a bootstrap command to auto-install packages (#650)

    This commit introduces a new boostrap command that is shipped as part of
    the opentelemetry-auto-instrumentation package. The command detects
    installed libraries and installs the relevant auto-instrumentation
    packages.
    owais committed May 27, 2020
    Configuration menu
    Copy the full SHA
    334a534 View commit details
    Browse the repository at this point in the history
  3. asgi: Add ASGI middleware (#716)

    Adding an ASGI extension.
    
    Co-authored-by: Emil Madsen <sovende@gmail.com>
    Co-authored-by: alrex <alrex.boten@gmail.com>
    Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
    4 people committed May 27, 2020
    Configuration menu
    Copy the full SHA
    64b3cf2 View commit details
    Browse the repository at this point in the history
  4. bugfix: deep copy empty attributes (#714)

    Addresses #713. Previously it was possible for a user (acting against the api) to mutate a default variable.
    Andrew Xue committed May 27, 2020
    Configuration menu
    Copy the full SHA
    8a946b5 View commit details
    Browse the repository at this point in the history
  5. django: Add exclude lists (#670)

    Similar to flask, enabling exclusion of spans based on host and path.
    
    Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
    Co-authored-by: alrex <aboten@lightstep.com>
    Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
    4 people committed May 27, 2020
    Configuration menu
    Copy the full SHA
    807e106 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. chore: update master to 0.9.dev0 (#745)

    alrex committed May 28, 2020
    Configuration menu
    Copy the full SHA
    f7a7f64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    960d0a3 View commit details
    Browse the repository at this point in the history
  3. datadog: set sampling rate (#740)

    Set the sampling rate in the Datadog exported span if span was sampled with the ProbabilitySampler.
    
    Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
    majorgreys and ocelotl committed May 28, 2020
    Configuration menu
    Copy the full SHA
    30c953d View commit details
    Browse the repository at this point in the history

Commits on May 29, 2020

  1. Configuration menu
    Copy the full SHA
    f8f2ca4 View commit details
    Browse the repository at this point in the history
  2. ext/system-metrics: adding instrumentation to collect system metrics (#…

    …652)
    
    Adding an extension to provide users an easy mechanism to collect metrics for their system.
    alrex committed May 29, 2020
    Configuration menu
    Copy the full SHA
    bfc54bf View commit details
    Browse the repository at this point in the history

Commits on May 30, 2020

  1. sdk: Flush metrics on exit (#749)

    In PushController before exit, flush the meter by calling tick(), ensuring that all metrics are flushed.
    
    Co-authored-by: alrex <aboten@lightstep.com>
    aabmass and alrex committed May 30, 2020
    Configuration menu
    Copy the full SHA
    602ddb0 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2020

  1. Configuration menu
    Copy the full SHA
    24a564d View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2020

  1. Configuration menu
    Copy the full SHA
    ce269a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ad6ac5 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2020

  1. opentracing-shim: add testbed for otshim (#727)

    This commit ports the OpenTracing testbed[1] to check that the ot-shim is
    working as expected using different frameworks.
    
    Gevent doesn't support context vars yet[2], so those tests are not compatible
    with opentelemetry and were not ported.
    
    [1] https://github.com/opentracing/opentracing-python/tree/master/testbed
    [2] gevent/gevent#1407
    
    Co-authored-by: Mauricio Vásquez <mauricio@kinvolk.io>
    Co-authored-by: alrex <aboten@lightstep.com>
    3 people committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    acb7f48 View commit details
    Browse the repository at this point in the history
  2. chore: removing Oberon00 from approvers (#770)

    Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
    alrex and toumorokoshi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    2ad9f49 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2020

  1. cloud-trace: Cloud Trace exporter (#698)

    Co-authored-by: Cheng-Lung Sung <clsung@gmail.com>
    Andrew Xue and clsung committed Jun 4, 2020
    Configuration menu
    Copy the full SHA
    c42749a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75a1311 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2020

  1. requests: better exception handling (#765)

    Canonical codes for different types of exceptions
    
    Span attributes extracted from exception
    
    Correct span closing for requests with raised errors (A span wasn't closed due to a RequestException)
    
    Co-authored-by: alrex <aboten@lightstep.com>
    HiveTraum and alrex committed Jun 5, 2020
    Configuration menu
    Copy the full SHA
    91f656f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b108596 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

  1. Configuration menu
    Copy the full SHA
    20cf4cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d755375 View commit details
    Browse the repository at this point in the history
  3. Add lzchen to maintainers (#784)

    * Add lzchen to maintainers
    
    Closes #778.
    
    Co-authored-by: alrex <aboten@lightstep.com>
    toumorokoshi and alrex committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    7ad8bbc View commit details
    Browse the repository at this point in the history
  4. refactor: Add common utils to opentelemetry-auto-instrumentation, ren…

    …ame opentelemetry-auto-instrumentation (#741)
    cnnradams committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    1041e11 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2020

  1. Configuration menu
    Copy the full SHA
    93194e1 View commit details
    Browse the repository at this point in the history