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

Merge metric SDK development branch "new_sdk/main" into "main" #3175

Merged
merged 81 commits into from Sep 16, 2022

Commits on Apr 20, 2022

  1. Remove Old SDK and dependent code on that SDK (open-telemetry#2802)

    * Remove prometheus example code
    
    * Remove prometheus exporter code
    
    * Remove stdoutmetric code
    
    * Remove sdk/metric/* packages
    
    * Remove opencensus example code
    
    * Remove otlpmetric exporter code
    
    * Remove OpenCensus bridge code
    
    * go mod tidy
    
    * Remove empty modules
    MrAlias committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    9ced1b9 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

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

Commits on May 2, 2022

  1. Add MeterProvider/meter structure to new SDK (open-telemetry#2822)

    * Remove prometheus example code
    
    * Remove prometheus exporter code
    
    * Remove stdoutmetric code
    
    * Remove sdk/metric/* packages
    
    * Remove opencensus example code
    
    * Remove otlpmetric exporter code
    
    * Remove OpenCensus bridge code
    
    * go mod tidy
    
    * Remove empty modules
    
    * Add MeterProvider/meter structure to new SDK
    
    * Add vanity imports
    
    * go mod tidy
    
    * Add MeterProvider Flush/Shutdown required by spec
    
    * Cast nil ptr instead of alloc for comp time check
    
    * Apply suggestions from code review
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Apply suggested Shutdown comment
    
    * Apply fixes from feedback
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    MrAlias and MadVikingGod committed May 2, 2022
    Configuration menu
    Copy the full SHA
    0dc2bbf View commit details
    Browse the repository at this point in the history
  2. Add sdk/metric/view structure (open-telemetry#2838)

    * Add sdk/metric/view package structure
    
    * Vanity import
    MrAlias committed May 2, 2022
    Configuration menu
    Copy the full SHA
    ac0b13f View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Define the reader interface, and create a manual reader (open-telemet…

    …ry#2885)
    
    * Add the manual reader to the sdk.
    
    * Incoperate feedback from PR.
    
    * additional PR comments
    
    * Fix lint
    
    * Fixes for PR.
    
    * Unexport ManualReader
    fix a few comments
    MadVikingGod committed May 13, 2022
    Configuration menu
    Copy the full SHA
    a3253d0 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Refactor reader testing into a harness (open-telemetry#2910)

    * Refactor reader testing into a harness
    
    * Run lint
    MrAlias committed May 18, 2022
    Configuration menu
    Copy the full SHA
    8972d8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7d8592 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. Removed merge leftover

    MrAlias committed May 19, 2022
    Configuration menu
    Copy the full SHA
    77f9f08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e591cca View commit details
    Browse the repository at this point in the history
  3. go mod tidy

    MrAlias committed May 19, 2022
    Configuration menu
    Copy the full SHA
    2396e1c View commit details
    Browse the repository at this point in the history
  4. crosslink

    MrAlias committed May 19, 2022
    Configuration menu
    Copy the full SHA
    84e52ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c7f26ed View commit details
    Browse the repository at this point in the history
  6. Run make with new tool set

    MrAlias committed May 19, 2022
    Configuration menu
    Copy the full SHA
    8ac0588 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. Merge pull request open-telemetry#2913 from MrAlias/merge-main-to-new…

    …_sdk-main
    
    Merge main into new_sdk/main
    hanyuancheung committed May 20, 2022
    Configuration menu
    Copy the full SHA
    499ef24 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3203a04 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2022

  1. Add the periodic reader (open-telemetry#2909)

    * Add the metric.Exporter interface
    
    * Move the reader errors to reader.go
    
    * Update Reader.Collect docs
    
    Remove TODO being addressed in this PR and restate purpose of method.
    
    * Initial draft of the periodic reader
    
    * Refer to correct config in periodic reader opts
    
    * Refactor reader testing into a harness
    
    * Move wait group handling out of run
    
    * Refactor ticker creation to allow testing
    
    * Honor export timeout in run
    
    * Fix wait group wait bug
    
    * Add periodic reader tests
    
    * Fix lint
    
    * Update periodic reader comments
    
    * Add concurrency test for readers
    
    * Simplify the ticker stop deferral
    
    * Only register once
    
    * Restrict build of metric sdk to Go>1.16
    
    * Clean up ShutdownBeforeRegister test
    MrAlias committed May 21, 2022
    Configuration menu
    Copy the full SHA
    9e45f76 View commit details
    Browse the repository at this point in the history
  2. Test duplicate Reader registration (open-telemetry#2914)

    The specification requires the SDK prevent duplicate registrations for
    readers. This adds a test for that and fixes this for the manualReader.
    MrAlias committed May 21, 2022
    Configuration menu
    Copy the full SHA
    dd886b0 View commit details
    Browse the repository at this point in the history
  3. Add WithReader and WithResource Options (open-telemetry#2905)

    * Add WithReader and WithResource Options
    
    * Run lint
    
    * Update WithReader fn signature based on feedback
    
    * crosslink
    
    * Remove zero-len check in unify
    
    * Restrict build to Go > 1.16
    MrAlias committed May 21, 2022
    Configuration menu
    Copy the full SHA
    39fe636 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

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

Commits on May 25, 2022

  1. Unify reader implementations (open-telemetry#2923)

    * Unify reader implementations
    
    Use an atomic.Value to manage concurrency without a lock.
    
    * Lint
    MrAlias committed May 25, 2022
    Configuration menu
    Copy the full SHA
    73e512c View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Merge main into new sdk main (open-telemetry#2925)

    * Use already enabled revive linter and add depguard (open-telemetry#2883)
    
    * Refactor golangci-lint conf
    
    Order settings alphabetically.
    
    * Add revive settings to golangci conf
    
    * Check blank imports
    
    * Check bool-literal-in-expr
    
    * Check constant-logical-expr
    
    * Check context-as-argument
    
    * Check context-key-type
    
    * Check deep-exit
    
    * Check defer
    
    * Check dot-imports
    
    * Check duplicated-imports
    
    * Check early-return
    
    * Check empty-block
    
    * Check empty-lines
    
    * Check error-naming
    
    * Check error-return
    
    * Check error-strings
    
    * Check errorf
    
    * Stop ignoring context first arg in tests
    
    * Check exported comments
    
    * Check flag-parameter
    
    * Check identical branches
    
    * Check if-return
    
    * Check increment-decrement
    
    * Check indent-error-flow
    
    * Check deny list of go imports
    
    * Check import shadowing
    
    * Check package comments
    
    * Check range
    
    * Check range val in closure
    
    * Check range val address
    
    * Check redefines builtin id
    
    * Check string-format
    
    * Check struct tag
    
    * Check superfluous else
    
    * Check time equal
    
    * Check var naming
    
    * Check var declaration
    
    * Check unconditional recursion
    
    * Check unexported return
    
    * Check unhandled errors
    
    * Check unnecessary stmt
    
    * Check unnecessary break
    
    * Check waitgroup by value
    
    * Exclude deep-exit check in example*_test.go files
    
    * Move the minimum version to go 1.17 (open-telemetry#2917)
    
    * Move the minimum version to go 1.17
    
    * Update readme and changelog
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * Make lint
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    3 people committed May 26, 2022
    Configuration menu
    Copy the full SHA
    81c8424 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. Add view to metrics. (open-telemetry#2926)

    * WIP views public
    
    * Add attribute filters and comments.
    
    * Fixes for lint
    
    * Address comments
    
    * Fix lint
    
    * Changed view matching to expand end
    
    Removed the dscriptor, it was moved in previous patch
    
    * change wildcards into regex
    
    * Update comments
    
    * address comments.
    
    * Address more PR comments
    
    * renamed WithDescription to WithSetDescription.
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    MadVikingGod and hanyuancheung committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    00caf29 View commit details
    Browse the repository at this point in the history
  2. Implement MeterProvider's Meter method (open-telemetry#2945)

    * Implement stubbed meter create method
    
    * Rename return value to avoid comment
    
    * Encapsulate meterRegistry tests with identifying name
    
    * Run lint fix
    
    * Comment meterRegistry being concurrent safe
    
    * Remove ordered meter tracking in the meterRegistry
    
    * Test range completeness instead of order
    
    * Remove provider field from meter
    MrAlias committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    0c857a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

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

Commits on Jun 10, 2022

  1. Introduce Temporality, WithTemporality Reader options and InstrumentK…

    …ind (open-telemetry#2949)
    
    * Introduce Temporality and InstrumentKind
    
    Because Temporality is the responsibility of the Reader additional methods
    are added to the Reader interface.  And New options are created to
    configure the temporality selector.
    
    * Addresses comments, and adds tests.
    
    * Fix addition PR comment
    MadVikingGod committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    6d9b57d View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Add aggregation package and reader/view options (open-telemetry#2958)

    * Add aggregation pkg and options
    
    * Update documentation for the aggregation pkg
    
    * Test Aggregation.Err
    
    * Fix aggregation pkg comment
    
    * Add WithAggregation comment
    
    * Add default aggregation
    
    * Rename WithAggregation and add AggregationSelector
    
    * Fix DefaultAggregationSelector use and decl
    
    * Replace Aggregation struct with iface
    
    * Add Copy method to hist and fix Err method
    
    * Additional test for monotonic bounds
    
    * Add aggregation method to Reader
    
    * Use AggregationSelector instead of inline func type
    
    * Switch RecordMinMax to NoMinMax
    
    * Deep copy and validate in options
    
    * Test the DefaultAggregationSelector
    
    * nolint for import-shadow of method
    
    * Fix Default aggregation comment
    
    * Test the explicit bucket histogram deep copy
    MrAlias committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    c6526ec View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Update temporality selector option (open-telemetry#2967)

    Match the WithAggregationSelector option pattern: define a
    TemporalitySelector type, export the DefaultTemporalitySelector
    function, and name the option with a Selector suffix.
    MrAlias committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    93a1ca6 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

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

Commits on Jul 6, 2022

  1. Add internal package structure for aggregation (open-telemetry#2954)

    * Add the aggtor package
    
    * Restrict to Go 1.18
    
    * Add missing build block to view_test.go
    
    * Comment Aggregator iface
    
    * Use Go 1.18 as the default ci version
    
    * Update Aggregator iface from feedback
    
    * Accept hist conf
    
    * Flatten aggtor into just internal
    
    * Add Cycler interface
    
    Separate the duties of aggregation and maintaining state across
    aggregation periods.
    
    * Remove build flags for doc.go
    
    * Clarify Cycler documentation
    
    * Remove aggregation fold logic
    
    * Rename Number to Atomic
    
    * Add tests for Atomic impls
    
    * Remove unneeded Atomic implementation
    
    Add back when filling in structures.
    
    * Fix article in Float64 docs
    
    * Remove Atomic
    
    This is an implementation detail.
    
    * Add aggregator_example_test
    
    * Fix hist example
    
    * Add issue numbers to all TODO and FIXME
    
    * Remove zero parameter comment
    
    * Combine the cycler into the aggregators
    
    * Remove the drop aggregator
    
    * Fix lint
    
    * Use attribute.Set instead of ptr to it
    
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    MrAlias and Aneurysm9 committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    c250227 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Merge main into new_sdk/main (open-telemetry#2996)

    * Use already enabled revive linter and add depguard (open-telemetry#2883)
    
    * Refactor golangci-lint conf
    
    Order settings alphabetically.
    
    * Add revive settings to golangci conf
    
    * Check blank imports
    
    * Check bool-literal-in-expr
    
    * Check constant-logical-expr
    
    * Check context-as-argument
    
    * Check context-key-type
    
    * Check deep-exit
    
    * Check defer
    
    * Check dot-imports
    
    * Check duplicated-imports
    
    * Check early-return
    
    * Check empty-block
    
    * Check empty-lines
    
    * Check error-naming
    
    * Check error-return
    
    * Check error-strings
    
    * Check errorf
    
    * Stop ignoring context first arg in tests
    
    * Check exported comments
    
    * Check flag-parameter
    
    * Check identical branches
    
    * Check if-return
    
    * Check increment-decrement
    
    * Check indent-error-flow
    
    * Check deny list of go imports
    
    * Check import shadowing
    
    * Check package comments
    
    * Check range
    
    * Check range val in closure
    
    * Check range val address
    
    * Check redefines builtin id
    
    * Check string-format
    
    * Check struct tag
    
    * Check superfluous else
    
    * Check time equal
    
    * Check var naming
    
    * Check var declaration
    
    * Check unconditional recursion
    
    * Check unexported return
    
    * Check unhandled errors
    
    * Check unnecessary stmt
    
    * Check unnecessary break
    
    * Check waitgroup by value
    
    * Exclude deep-exit check in example*_test.go files
    
    * Move the minimum version to go 1.17 (open-telemetry#2917)
    
    * Move the minimum version to go 1.17
    
    * Update readme and changelog
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * Use ByteSliceToString from golang.org/x/sys/unix (open-telemetry#2924)
    
    Use unix.ByteSliceToString to convert Utsname []byte fields to strings.
    
    This also allows to drop the charsToString helper which serves the same
    purpose and matches ByteSliceToString's implementation.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * docs: fix typo (open-telemetry#2935)
    
    * add timeout to grpc connection in otel-collector example (open-telemetry#2939)
    
    * Closes: open-telemetry#2951 (open-telemetry#2952)
    
    This PR updates the example listed in the getting started doc
    so that it will compile without error.  It also makes this
    example consistent with the code found in
    https://github.com/open-telemetry/opentelemetry-go/blob/main/example/fib/main.go
    
    Signed-off-by: Brad Topol <btopol@us.ibm.com>
    
    * fix data-model link (open-telemetry#2955)
    
    * Bump go.opentelemetry.io/proto/otlp from v0.16.0 to v0.18.0 (open-telemetry#2960)
    
    * Move to using Instrumentation Scope (open-telemetry#2976)
    
    * Move to using Instrumentation Scope
    
    * Use type alias, not definition
    
    * Add a changelog entry
    
    * docs(website_docs): fix exporting_data.md and getting-started.md toc (open-telemetry#2930)
    
    * docs(website_docs): fix toc
    
    * docs(website_docs): fix toc
    
    * update exporting_data.md for rerun check-links
    
    * update exporting_data.md for rerun check-links
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update getting-started.md (open-telemetry#2984)
    
    grammar edit for line 175 of readme
    
    * fix typo (open-telemetry#2986)
    
    * fix typo
    
    * spell fix
    
    * typo fix (open-telemetry#2991)
    
    * added traces.txt to gitignore for fib (open-telemetry#2993)
    
    * Deprecate Library and move all uses to Scope (open-telemetry#2977)
    
    * Deprecate Library and move all uses to Scope
    
    * Add PR number to changelog
    
    * Don't change signatures in stable modules
    
    * Revert some changes
    
    * Rename internal struct names
    
    * A bit more renaming
    
    * Update sdk/trace/span.go
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update based on feedback
    
    * Revert change
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Feat/bridge support text map (open-telemetry#2911)
    
    * feat: support TextMap
    
    * doc: add comment
    
    * test: support for ot.TextMap
    
    * Retrieve lost code due to merge
    
    * fix: retrieve lost code due to merge. test: support for ot.HTTPHeaders
    
    * go mod tidy
    
    * Optimized code style, add changelog
    
    * doc: Restore comments
    
    * wip: add test cases
    
    * test: fix args error
    
    * delete empty line
    
    * Fix syntax and changelog errors
    
    * Fix formatting errors
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Add a release template (open-telemetry#2863)
    
    * Add a release template
    
    * Update the about field
    
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    
    * Fix linting Issues
    
    * Add ignore for template link
    
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Fix merge of CHANGELOG.md
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tobias Klauser <tobias.klauser@gmail.com>
    Co-authored-by: petrie <244236866@qq.com>
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    Co-authored-by: Brad Topol <btopol@us.ibm.com>
    Co-authored-by: Craig Pastro <pastro.craig@gmail.com>
    Co-authored-by: Kshitija Murudi <kmurudi@ncsu.edu>
    Co-authored-by: Petrie Liu <lpfvip2008@gmail.com>
    Co-authored-by: Guangya Liu <gyliu513@gmail.com>
    Co-authored-by: Craig Pastro <craig.pastro@auth0.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    Co-authored-by: ttoad <qq530901331@outlook.com>
    14 people committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    2bd0e1a View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Add structure to the export data. (open-telemetry#2961)

    * Add structure to the export data.
    
    * Fix comments.
    
    * Apply suggestions from code review
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Address PR comments.
    
    * Updated optional historgram parameters.
    
    * Address PR comments.
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    3 people committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    5e69b7f View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Use export.Aggregation instead of internal.Aggregation (open-telemetr…

    …y#3007)
    
    * Use export.Aggregation instead of internal
    
    * Return an export.Aggregation instead of a slice
    MrAlias committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    425e9ce View commit details
    Browse the repository at this point in the history
  2. Use attribute Sets instead of KeyValues for export data (open-telemet…

    …ry#3012)
    
    Attribute Sets have stronger guarantees about the uniqueness of their
    keys and more functionality. We already ensure attributes are stored as
    Sets by the aggregator which will produce these data types. Instead of
    converting to a KeyValue slice, keep the data as a Set.
    
    Any user of the data can always call the ToSlice method to use the data
    as a slice of KeyValues.
    MrAlias committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    a1c5b6f View commit details
    Browse the repository at this point in the history
  3. Change Instrument Library to Instrument Scope (open-telemetry#3016)

    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    MadVikingGod and MrAlias committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    5f34247 View commit details
    Browse the repository at this point in the history
  4. move temporality to export/temporality (open-telemetry#3017)

    * move temporality to export/temporality
    
    * fix lint errors
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    MadVikingGod and MrAlias committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    3c344c7 View commit details
    Browse the repository at this point in the history
  5. Rename Package sdk/metric/export into sdk/metric/metricdata (open-tel…

    …emetry#3014)
    
    * fix unrelated changes
    
    * fix quote code
    
    * fix format
    
    * rebase pr
    
    * rebase pr
    
    * change usage of export to metricdata
    hanyuancheung committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    98f88ca View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. Add metricdatatest package (open-telemetry#3025)

    * Use export.Aggregation instead of internal
    
    * Return an export.Aggregation instead of a slice
    
    * Use attribute Sets instead of KeyValues for export data
    
    Attribute Sets have stronger guarantees about the uniqueness of their
    keys and more functionality. We already ensure attributes are stored as
    Sets by the aggregator which will produce these data types. Instead of
    converting to a KeyValue slice, keep the data as a Set.
    
    Any user of the data can always call the ToSlice method to use the data
    as a slice of KeyValues.
    
    * Add export data type comparison testing API
    
    * Add Aggregation and Value comparison funcs
    
    * Move export testing to own pkg
    
    * Move exporttest to metricdatatest
    
    * Add licenses headers to files missing them
    
    * Use metricdata instead of export
    
    Fix merge of new_sdk/main
    
    * Rename exporttest pkg to metricdatatest
    
    * Fix spelling errors
    
    * Fix lint issues
    
    * Use testing pkg to error directly
    
    Include Helper() method calls to correct the call-stack.
    
    * Fix CompareAggregations
    
    Set equal to true by default
    
    * Generalize assertions and unexport equal checks
    
    * Abstract assert tests
    
    * Rename all exp var to r
    
    * Test AssertAggregationsEqual
    
    * Comment why Value and Aggregation are separate
    
    * Test AssertValuesEqual
    
    * Revert changes to metricdata/temporality.go
    
    * Expand pkg doc sentence
    
    * Add license header to assertion.go
    
    * Update assertion docs
    
    * Consolidate comparisons funcs into one file
    
    * Consolidate and fix docs
    
    * Consolidate assertion.go
    
    * Consolidate comparisons.go
    
    * make lint
    
    * Test with relatively static times
    
    * Update sdk/metric/metricdata/metricdatatest/comparisons.go
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Drop equal return from comparison funcs
    
    * Refactor AssertEqual
    
    * Remove reasN from testDatatype func params
    
    * Consolidate AssertEqual type conversions
    
    * Fix assertion error message
    
    * Add assertion failure tests
    
    * Remove unneeded strings join
    
    * Make comment include a possessive
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    MrAlias and MadVikingGod committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    1dbe1fc View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Adds a pipeline for creating reader's output (open-telemetry#3026)

    * Adds a pipeline for creating reader's output
    
    * fix metricdata move
    
    * fix lint
    
    * Apply suggestions from code review
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Address PR comments
    
    * Added resource test
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    MadVikingGod and MrAlias committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    751eaa9 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2022

  1. Use generic Sum, Gauge, and DataPoint value removing Value, Int64, an…

    …d Float64 from metricdata (open-telemetry#3036)
    
    * Use generic DataPoint value
    
    * Fix assertion_fail_test.go
    
    * Declare Sum and DataPoints type in pipeline_test
    MrAlias committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    91b1a44 View commit details
    Browse the repository at this point in the history
  2. Add MatchInstrumentKind filter for Views. (open-telemetry#3037)

    * Move InstrumentKind to view, Add view filter
    
    * remove TODO
    
    * Add the Option function, fix lint
    
    * use local var over 0
    
    * Fix missing undefinedInstrumnet
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    MadVikingGod and MrAlias committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    67da7d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Change View Attribute Filter to detect if not set. (open-telemetry#3039)

    * Change View Attribute Filter to detect if not set.
    
    * Fix PR comments.
    
    * Rework test for no filter logic.
    MadVikingGod committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    dc4899c View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Add implementation of last-value aggregator (open-telemetry#3008)

    * Add last-value aggregator
    
    * Add test of last-value reset of unseen attrs
    
    * Add benchmark
    
    * Use generic DataPoint value
    
    * Fix assertion_fail_test.go
    
    * Fix tests
    
    * Remove unused test increment values
    MrAlias committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    590fff9 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. View.New() miss InstrumentKind check (open-telemetry#3043)

    Signed-off-by: liupengfei <lpfvip2008@gmail.com>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    Petrie and MrAlias committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    26506aa View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Add delta/cumulative histogram implementation (open-telemetry#3045)

    * Add delta/cumulative histogram implementation
    
    * Add histogram unit tests
    
    * Fix histValues Aggregate
    
    Store the new buckets value back to the values map.
    
    Ensure min/max are measured values, not zero values.
    
    * Fix lint
    
    * Add benchmarks
    
    * Test histograms internal functionality
    
    * Fix lint
    
    * Add TODO to look at memory use for cumu hist
    
    * Update sdk/metric/internal/histogram.go
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    MrAlias and hanyuancheung committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    0cc8a3b View commit details
    Browse the repository at this point in the history
  2. use TemporalitySelector (open-telemetry#3050)

    Signed-off-by: Petrie <lpfvip2008@gmail.com>
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    Petrie and MadVikingGod committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    dbdcfc9 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Add implementation of Sum aggregators (open-telemetry#3000)

    * Implement the sum aggregators
    
    * Add unit tests for delta/cumulative sums
    
    * Add benchmarks
    
    * Merge sum tests into one
    
    * Remove unused start time from cumulative sum
    
    * Refactor benchmark tests
    
    Split benchmarks for the Aggregations and Aggregate methods so
    computational resource use can be determined.
    
    * goimports
    
    * Move timestamp out of lock
    
    * Refactor testing
    
    * Fix spelling mistake
    
    * Name param of expectFunc
    
    * Reset delta sum to zero instead of delete
    
    * Revert to deleting unused attr sets
    
    * Refactor testing to allow use across other aggs
    
    * Add TODO to bound cumulative sum mem usage
    
    * Fix misspelling
    
    * Unify aggregator benchmark code in aggregator_test
    
    * Use generic DataPoint value
    
    * Fix assertion_fail_test.go
    
    * Use generic metricdata types
    
    * Fix tests
    
    * Fix benchmarks
    
    * Fix lint
    
    * Update sum documentation
    
    * Remove leftover encapsulating test run
    
    * Use t.Cleanup to mock time
    
    * Consolidate expecter logic into funcs
    
    * Move errNegVal closer to use
    
    * Run the agg test
    
    * Add tests for monotonic sum Aggregate err
    
    * Run make lint
    
    * Make monotonic an arg of creation funcs
    
    * Remove Aggregate monotonic validation
    
    * Rename sum to valueMap
    
    The term sum is a good variable name that we do not want to take and
    valueMap better describes the type as the storage of the aggregator.
    MrAlias committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    7a168f2 View commit details
    Browse the repository at this point in the history
  2. Adds a filter Aggregator. (open-telemetry#3040)

    * Adds a filter Aggregator.
    
    * Add lock and tests
    
    * Add Concurrency tests
    
    * fix lint errors
    
    * Add memory constrained todo.
    
    * Update filter comment.
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    3 people committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    eefb277 View commit details
    Browse the repository at this point in the history
  3. Add back the stdoutmetric exporter (open-telemetry#3057)

    * PoC stdoutmetric exporter
    
    * Use stringer to generate String for Temporality
    
    * Add vanity imports
    
    * Update Temporality string expected output
    
    * Do not return error from newConfig
    
    * Add shutdown unit tests
    
    * Fix spelling error
    
    * Unify testing of ctx errors and test ForceFlush
    
    * Add unit test for Export handle of ctx errs
    
    * Clarify documentation about alt OTLP exporter
    
    * Remove unused ErrUnrecognized
    
    A third party encoder can produce their own errors. This code does
    nothing unique with this error, therefore, it is removed.
    
    * Lint exporter_test.go
    
    * Refactor example_test.go removing FIXME
    
    * Add test for Export shutdown err
    
    * Add a discard encoder for testing
    
    * Acknowledged error is returned from Shutdown
    
    * Remove unexpected SchemaURL from stdouttrace test
    
    * Remove unneeded *testing.T arg from testEncoderOption
    
    * Fix the location of now
    
    * Revise and edit docs
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    MrAlias and MadVikingGod committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    ea8af82 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

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

Commits on Aug 11, 2022

  1. Merge main into new_sdk/main (open-telemetry#3082)

    * Use already enabled revive linter and add depguard (open-telemetry#2883)
    
    * Refactor golangci-lint conf
    
    Order settings alphabetically.
    
    * Add revive settings to golangci conf
    
    * Check blank imports
    
    * Check bool-literal-in-expr
    
    * Check constant-logical-expr
    
    * Check context-as-argument
    
    * Check context-key-type
    
    * Check deep-exit
    
    * Check defer
    
    * Check dot-imports
    
    * Check duplicated-imports
    
    * Check early-return
    
    * Check empty-block
    
    * Check empty-lines
    
    * Check error-naming
    
    * Check error-return
    
    * Check error-strings
    
    * Check errorf
    
    * Stop ignoring context first arg in tests
    
    * Check exported comments
    
    * Check flag-parameter
    
    * Check identical branches
    
    * Check if-return
    
    * Check increment-decrement
    
    * Check indent-error-flow
    
    * Check deny list of go imports
    
    * Check import shadowing
    
    * Check package comments
    
    * Check range
    
    * Check range val in closure
    
    * Check range val address
    
    * Check redefines builtin id
    
    * Check string-format
    
    * Check struct tag
    
    * Check superfluous else
    
    * Check time equal
    
    * Check var naming
    
    * Check var declaration
    
    * Check unconditional recursion
    
    * Check unexported return
    
    * Check unhandled errors
    
    * Check unnecessary stmt
    
    * Check unnecessary break
    
    * Check waitgroup by value
    
    * Exclude deep-exit check in example*_test.go files
    
    * Move the minimum version to go 1.17 (open-telemetry#2917)
    
    * Move the minimum version to go 1.17
    
    * Update readme and changelog
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * Use ByteSliceToString from golang.org/x/sys/unix (open-telemetry#2924)
    
    Use unix.ByteSliceToString to convert Utsname []byte fields to strings.
    
    This also allows to drop the charsToString helper which serves the same
    purpose and matches ByteSliceToString's implementation.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * docs: fix typo (open-telemetry#2935)
    
    * add timeout to grpc connection in otel-collector example (open-telemetry#2939)
    
    * Closes: open-telemetry#2951 (open-telemetry#2952)
    
    This PR updates the example listed in the getting started doc
    so that it will compile without error.  It also makes this
    example consistent with the code found in
    https://github.com/open-telemetry/opentelemetry-go/blob/main/example/fib/main.go
    
    Signed-off-by: Brad Topol <btopol@us.ibm.com>
    
    * fix data-model link (open-telemetry#2955)
    
    * Bump go.opentelemetry.io/proto/otlp from v0.16.0 to v0.18.0 (open-telemetry#2960)
    
    * Move to using Instrumentation Scope (open-telemetry#2976)
    
    * Move to using Instrumentation Scope
    
    * Use type alias, not definition
    
    * Add a changelog entry
    
    * docs(website_docs): fix exporting_data.md and getting-started.md toc (open-telemetry#2930)
    
    * docs(website_docs): fix toc
    
    * docs(website_docs): fix toc
    
    * update exporting_data.md for rerun check-links
    
    * update exporting_data.md for rerun check-links
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update getting-started.md (open-telemetry#2984)
    
    grammar edit for line 175 of readme
    
    * fix typo (open-telemetry#2986)
    
    * fix typo
    
    * spell fix
    
    * typo fix (open-telemetry#2991)
    
    * added traces.txt to gitignore for fib (open-telemetry#2993)
    
    * Deprecate Library and move all uses to Scope (open-telemetry#2977)
    
    * Deprecate Library and move all uses to Scope
    
    * Add PR number to changelog
    
    * Don't change signatures in stable modules
    
    * Revert some changes
    
    * Rename internal struct names
    
    * A bit more renaming
    
    * Update sdk/trace/span.go
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update based on feedback
    
    * Revert change
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Feat/bridge support text map (open-telemetry#2911)
    
    * feat: support TextMap
    
    * doc: add comment
    
    * test: support for ot.TextMap
    
    * Retrieve lost code due to merge
    
    * fix: retrieve lost code due to merge. test: support for ot.HTTPHeaders
    
    * go mod tidy
    
    * Optimized code style, add changelog
    
    * doc: Restore comments
    
    * wip: add test cases
    
    * test: fix args error
    
    * delete empty line
    
    * Fix syntax and changelog errors
    
    * Fix formatting errors
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Add a release template (open-telemetry#2863)
    
    * Add a release template
    
    * Update the about field
    
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    
    * Fix linting Issues
    
    * Add ignore for template link
    
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Add workflow to automate bundling dependabot PRs (open-telemetry#2997)
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Release prep 1.8.0 (open-telemetry#3001)
    
    * Update CHANGELOG and versions.yaml for 1.8.0 release
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Update go-build-tools
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Prepare stable-v1 for version v1.8.0
    
    * Prepare experimental-metrics for version v0.31.0
    
    * Prepare bridge for version v0.31.0
    
    * `make go-mod-tidy` should use `-compat=1.17` now
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Update CHANGELOG.md
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Add benchmark metric test for UpDownCounter (open-telemetry#2655)
    
    * add benchmark metric test for UpDownCounter
    
    * move counter annotation up
    
    * fix syncFloat64 to syncInt64
    
    * fix syncFloat64 to syncInt64
    
    * fix go-lint err
    
    * Add semconv/v1.11.0 (open-telemetry#3009)
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Add semconv/v1.12.0 (open-telemetry#3010)
    
    * Add semconv/v1.12.0
    
    * Update all semconv use to v1.12.0
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Add http.method attribute to http server metric (open-telemetry#3018)
    
    * Add http.method attribute to http server metric
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix lint
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix lint
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix for reviews
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * add changelog entry
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * Add tests and fix opentracing bridge defer warning (open-telemetry#3029)
    
    * add tests and fix opentracing bridge defer warning
    
    * add changelog entry
    
    * Update CHANGELOG.md
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update bridge/opentracing/bridge_test.go
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Introduce "split" metric schema transformation (open-telemetry#2999)
    
    This is a new transformation type that allows to describe a change
    where a metric is converted to several other metrics by eliminating
    an attribute.
    
    An example of such change that happened recently is this:
    open-telemetry/opentelemetry-specification#2617
    
    This PR implements specification change open-telemetry/opentelemetry-specification#2653
    
    This PR creates package v1.1 for the new functionality. The old package v1.0
    remains unchanged.
    
    * Release v1.9.0 (open-telemetry#3052)
    
    * Bump versions in versions.yaml
    
    * Prepare stable-v1 for version v1.9.0
    
    * Prepare experimental-schema for version v0.0.3
    
    * Update changelog for release
    
    * Replace ioutil with io and os (open-telemetry#3058)
    
    * Make several vars into consts (open-telemetry#3068)
    
    * Add support for Go 1.19 (open-telemetry#3077)
    
    * Add support for Go 1.19
    
    * Update CHANGELOG.md
    
    Co-authored-by: Sam Xie <sam@samxie.me>
    
    Co-authored-by: Sam Xie <sam@samxie.me>
    
    * Update compatibility documentation (open-telemetry#3079)
    
    Remove 3 month timeline for backwards support of old versions of Go.
    
    Signed-off-by: Brad Topol <btopol@us.ibm.com>
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tobias Klauser <tobias.klauser@gmail.com>
    Co-authored-by: petrie <244236866@qq.com>
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    Co-authored-by: Brad Topol <btopol@us.ibm.com>
    Co-authored-by: Craig Pastro <pastro.craig@gmail.com>
    Co-authored-by: Kshitija Murudi <kmurudi@ncsu.edu>
    Co-authored-by: Petrie Liu <lpfvip2008@gmail.com>
    Co-authored-by: Guangya Liu <gyliu513@gmail.com>
    Co-authored-by: Craig Pastro <craig.pastro@auth0.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    Co-authored-by: ttoad <qq530901331@outlook.com>
    Co-authored-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
    Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
    Co-authored-by: Mikhail Mazurskiy <126021+ash2k@users.noreply.github.com>
    Co-authored-by: Sam Xie <sam@samxie.me>
    19 people committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    2e8a431 View commit details
    Browse the repository at this point in the history
  2. Adds the option to ignore timestamps in metric data tests. (open-tele…

    …metry#3076)
    
    * Adds the option to ignore timestamps in metric data tests
    
    * use config over bool
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    MadVikingGod and MrAlias committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    a8d1f4a View commit details
    Browse the repository at this point in the history
  3. Adds a pipelineRegistry to manage creating aggregators. (open-telemet…

    …ry#3044)
    
    * Adds a pipelineRegistry to manage creating aggregators.
    
    * Made pipeline generic
    * Add aggregation filter to the registry.
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    MadVikingGod and hanyuancheung committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    258bb2d View commit details
    Browse the repository at this point in the history
  4. Remove stale TODO (open-telemetry#3083)

    The aggregation transform function was added in open-telemetry#2958.
    MrAlias committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    7e85a50 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. Add back the otlpmetric transforms (open-telemetry#3065)

    * Add otlpmetric transforms
    
    * Split aggregation transforms to own file
    
    * Rename Iterator to AttrIter
    
    * Update pkg docs
    
    These are internal docs use developer based language.
    
    * Document all exported funcs
    
    * Unify metricdata type transforms into one file
    
    * Rename metrics.go to metricdata.go
    
    * Copy back attribute tests
    
    * Copy back in Iterator test
    
    * Refactor attribute tests
    
    * Add tests for metricdata transforms
    
    * Add multiErr support for digestible transform errs
    
    * Test transform errors
    
    * go mod tidy
    
    * Use key field
    
    * goimported
    
    * gofmt-ed
    
    * Fix error documentation
    
    * go mod tidy
    MrAlias committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    1c08d20 View commit details
    Browse the repository at this point in the history
  2. Changes instruments uniqueness in pipeline. (open-telemetry#3071)

    * Changes instruments uniquness in pipeline.
    
    * Fix lint
    
    * Update sdk/metric/pipeline.go
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    MadVikingGod and MrAlias committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    a33d917 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Restore the exporters/otlp/otlpmetric/internal/otelconfig package (op…

    …en-telemetry#3090)
    
    * Restore otlpmetric/otlpconfig from main
    
    * Rename otlpconfig to oconf
    
    * Remove the empty envconfig_test.go
    
    * Update import of otlpconfig in oconf_test
    
    * go mod tidy
    
    * Run make
    MrAlias committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    3013ed1 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Configuration menu
    Copy the full SHA
    e791fce View commit details
    Browse the repository at this point in the history
  2. reintroduce opencensus trace bridge (open-telemetry#3098)

    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    dashpole and MrAlias committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    d3f0d81 View commit details
    Browse the repository at this point in the history
  3. Document the sdk/metric/view package (open-telemetry#3086)

    * Add package documentation for sdk/metric/view
    
    * Refer to views not configs in WithReader docs
    
    * Fix vanity url for view_test.go
    
    * Add example tests for view options
    
    * Add package example
    
    * Fix view type docs
    
    * Remove build constraint for doc.go
    
    * Fix lint
    MrAlias committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    5c9ff25 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. Adds async instruments and providers. (open-telemetry#3084)

    * Adds instrument providers and instruments.
    
    * Don't return nil instrument, return with error
    
    * removed sync
    
    * Added a number of tests.
    
    Signed-off-by: GitHub <noreply@github.com>
    
    * Address PR comments
    
    * fix error messages
    
    * fixes typo in test name
    
    Signed-off-by: GitHub <noreply@github.com>
    
    * Fix lint issues
    
    * moved the testCallback into the TestMeterCreateInstrument
    
    Signed-off-by: GitHub <noreply@github.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    MadVikingGod and MrAlias committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    2eec66f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into new_sdk/main (open-telemetry#3111)

    * Use already enabled revive linter and add depguard (open-telemetry#2883)
    
    * Refactor golangci-lint conf
    
    Order settings alphabetically.
    
    * Add revive settings to golangci conf
    
    * Check blank imports
    
    * Check bool-literal-in-expr
    
    * Check constant-logical-expr
    
    * Check context-as-argument
    
    * Check context-key-type
    
    * Check deep-exit
    
    * Check defer
    
    * Check dot-imports
    
    * Check duplicated-imports
    
    * Check early-return
    
    * Check empty-block
    
    * Check empty-lines
    
    * Check error-naming
    
    * Check error-return
    
    * Check error-strings
    
    * Check errorf
    
    * Stop ignoring context first arg in tests
    
    * Check exported comments
    
    * Check flag-parameter
    
    * Check identical branches
    
    * Check if-return
    
    * Check increment-decrement
    
    * Check indent-error-flow
    
    * Check deny list of go imports
    
    * Check import shadowing
    
    * Check package comments
    
    * Check range
    
    * Check range val in closure
    
    * Check range val address
    
    * Check redefines builtin id
    
    * Check string-format
    
    * Check struct tag
    
    * Check superfluous else
    
    * Check time equal
    
    * Check var naming
    
    * Check var declaration
    
    * Check unconditional recursion
    
    * Check unexported return
    
    * Check unhandled errors
    
    * Check unnecessary stmt
    
    * Check unnecessary break
    
    * Check waitgroup by value
    
    * Exclude deep-exit check in example*_test.go files
    
    * Move the minimum version to go 1.17 (open-telemetry#2917)
    
    * Move the minimum version to go 1.17
    
    * Update readme and changelog
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * Use ByteSliceToString from golang.org/x/sys/unix (open-telemetry#2924)
    
    Use unix.ByteSliceToString to convert Utsname []byte fields to strings.
    
    This also allows to drop the charsToString helper which serves the same
    purpose and matches ByteSliceToString's implementation.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * docs: fix typo (open-telemetry#2935)
    
    * add timeout to grpc connection in otel-collector example (open-telemetry#2939)
    
    * Closes: open-telemetry#2951 (open-telemetry#2952)
    
    This PR updates the example listed in the getting started doc
    so that it will compile without error.  It also makes this
    example consistent with the code found in
    https://github.com/open-telemetry/opentelemetry-go/blob/main/example/fib/main.go
    
    Signed-off-by: Brad Topol <btopol@us.ibm.com>
    
    * fix data-model link (open-telemetry#2955)
    
    * Bump go.opentelemetry.io/proto/otlp from v0.16.0 to v0.18.0 (open-telemetry#2960)
    
    * Move to using Instrumentation Scope (open-telemetry#2976)
    
    * Move to using Instrumentation Scope
    
    * Use type alias, not definition
    
    * Add a changelog entry
    
    * docs(website_docs): fix exporting_data.md and getting-started.md toc (open-telemetry#2930)
    
    * docs(website_docs): fix toc
    
    * docs(website_docs): fix toc
    
    * update exporting_data.md for rerun check-links
    
    * update exporting_data.md for rerun check-links
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update getting-started.md (open-telemetry#2984)
    
    grammar edit for line 175 of readme
    
    * fix typo (open-telemetry#2986)
    
    * fix typo
    
    * spell fix
    
    * typo fix (open-telemetry#2991)
    
    * added traces.txt to gitignore for fib (open-telemetry#2993)
    
    * Deprecate Library and move all uses to Scope (open-telemetry#2977)
    
    * Deprecate Library and move all uses to Scope
    
    * Add PR number to changelog
    
    * Don't change signatures in stable modules
    
    * Revert some changes
    
    * Rename internal struct names
    
    * A bit more renaming
    
    * Update sdk/trace/span.go
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update based on feedback
    
    * Revert change
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Feat/bridge support text map (open-telemetry#2911)
    
    * feat: support TextMap
    
    * doc: add comment
    
    * test: support for ot.TextMap
    
    * Retrieve lost code due to merge
    
    * fix: retrieve lost code due to merge. test: support for ot.HTTPHeaders
    
    * go mod tidy
    
    * Optimized code style, add changelog
    
    * doc: Restore comments
    
    * wip: add test cases
    
    * test: fix args error
    
    * delete empty line
    
    * Fix syntax and changelog errors
    
    * Fix formatting errors
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Add a release template (open-telemetry#2863)
    
    * Add a release template
    
    * Update the about field
    
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    
    * Fix linting Issues
    
    * Add ignore for template link
    
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Add workflow to automate bundling dependabot PRs (open-telemetry#2997)
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Release prep 1.8.0 (open-telemetry#3001)
    
    * Update CHANGELOG and versions.yaml for 1.8.0 release
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Update go-build-tools
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Prepare stable-v1 for version v1.8.0
    
    * Prepare experimental-metrics for version v0.31.0
    
    * Prepare bridge for version v0.31.0
    
    * `make go-mod-tidy` should use `-compat=1.17` now
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Update CHANGELOG.md
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Add benchmark metric test for UpDownCounter (open-telemetry#2655)
    
    * add benchmark metric test for UpDownCounter
    
    * move counter annotation up
    
    * fix syncFloat64 to syncInt64
    
    * fix syncFloat64 to syncInt64
    
    * fix go-lint err
    
    * Add semconv/v1.11.0 (open-telemetry#3009)
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Add semconv/v1.12.0 (open-telemetry#3010)
    
    * Add semconv/v1.12.0
    
    * Update all semconv use to v1.12.0
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Add http.method attribute to http server metric (open-telemetry#3018)
    
    * Add http.method attribute to http server metric
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix lint
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix lint
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix for reviews
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * add changelog entry
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * Add tests and fix opentracing bridge defer warning (open-telemetry#3029)
    
    * add tests and fix opentracing bridge defer warning
    
    * add changelog entry
    
    * Update CHANGELOG.md
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update bridge/opentracing/bridge_test.go
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Introduce "split" metric schema transformation (open-telemetry#2999)
    
    This is a new transformation type that allows to describe a change
    where a metric is converted to several other metrics by eliminating
    an attribute.
    
    An example of such change that happened recently is this:
    open-telemetry/opentelemetry-specification#2617
    
    This PR implements specification change open-telemetry/opentelemetry-specification#2653
    
    This PR creates package v1.1 for the new functionality. The old package v1.0
    remains unchanged.
    
    * Release v1.9.0 (open-telemetry#3052)
    
    * Bump versions in versions.yaml
    
    * Prepare stable-v1 for version v1.9.0
    
    * Prepare experimental-schema for version v0.0.3
    
    * Update changelog for release
    
    * Replace ioutil with io and os (open-telemetry#3058)
    
    * Make several vars into consts (open-telemetry#3068)
    
    * Add support for Go 1.19 (open-telemetry#3077)
    
    * Add support for Go 1.19
    
    * Update CHANGELOG.md
    
    Co-authored-by: Sam Xie <sam@samxie.me>
    
    Co-authored-by: Sam Xie <sam@samxie.me>
    
    * Update compatibility documentation (open-telemetry#3079)
    
    Remove 3 month timeline for backwards support of old versions of Go.
    
    * Fix `opentracing.Bridge` where it miss identifying the spanKind  (open-telemetry#3096)
    
    * Fix opentracing.Bridge where it was not identifying the spanKinf correctly
    
    * fix test
    
    * changelog
    
    * Keeping backward comppatibillity
    
    * Update CHANGELOG.md
    
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Update CHANGELOG.md
    
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * replace `required` by `requirementlevel` (open-telemetry#3103)
    
    * Change the inclusivity of exponential histogram bounds (open-telemetry#2982)
    
    * Use lower-inclusive boundaries
    
    * make exponent and logarithm more symmetric
    
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Update golangci-lint to v1.48.0 (open-telemetry#3105)
    
    * Update golangci-lint to v1.48.0
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * Bump go.opentelemetry.io/proto/otlp from v0.18.0 to v0.19.0 (open-telemetry#3107)
    
    * Bump go.opentelemetry.io/proto/otlp from v0.18.0 to v0.19.0
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    Signed-off-by: Brad Topol <btopol@us.ibm.com>
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tobias Klauser <tobias.klauser@gmail.com>
    Co-authored-by: petrie <244236866@qq.com>
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    Co-authored-by: Brad Topol <btopol@us.ibm.com>
    Co-authored-by: Craig Pastro <pastro.craig@gmail.com>
    Co-authored-by: Kshitija Murudi <kmurudi@ncsu.edu>
    Co-authored-by: Petrie Liu <lpfvip2008@gmail.com>
    Co-authored-by: Guangya Liu <gyliu513@gmail.com>
    Co-authored-by: Craig Pastro <craig.pastro@auth0.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    Co-authored-by: ttoad <qq530901331@outlook.com>
    Co-authored-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
    Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
    Co-authored-by: Mikhail Mazurskiy <126021+ash2k@users.noreply.github.com>
    Co-authored-by: Sam Xie <sam@samxie.me>
    Co-authored-by: Alan Protasio <alanprot@gmail.com>
    Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
    21 people committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    467a1c5 View commit details
    Browse the repository at this point in the history
  3. Add otlpmetric exporter (open-telemetry#3089)

    * Add otlpmetric package doc
    
    * Add Client interface
    
    * Add the Exporter
    
    Have the Exporter ensure synchronous access to all client methods.
    
    * Add race detection test for Exporter
    
    * Expand New godocs
    
    * Fix lint
    
    * Merge transform and upload errors
    
    * Fix ineffectual increment
    MrAlias committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    0067ea5 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. Make pipelineRegistry non-generic (open-telemetry#3115)

    * Make pipelineRegistry non-generic
    MadVikingGod committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    16a578c View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

  1. Add Synchronous instruments (open-telemetry#3124)

    * Add Synchronous instruments
    
    * remove duplicate code in instrument
    
    * Fixes to Histogram comments
    MadVikingGod committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    25d13cb View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Add back the otlpmetricgrpc exporter (open-telemetry#3094)

    * Add otlpmetric package doc
    
    * Add Client interface
    
    * Add the Exporter
    
    Have the Exporter ensure synchronous access to all client methods.
    
    * Add race detection test for Exporter
    
    * Expand New godocs
    
    * Fix lint
    
    * Add the otlpmetricgrpc Go module
    
    * Restore otlpmetricgrpc from main
    
    * Remove integration testing from otlpmetricgrpc
    
    * Fix import of otlpconfig to oconf
    
    * Update client
    
    Add ForceFlush method to satisfy otlpmetric.Client, unexport Start, and
    restructure NewClient to return a started client.
    
    * Update otlpmetricgrpc New functions
    
    Remove NewUnstarted and only export New.
    
    * Remove unneeded client sync
    
    The exporter handle the synchronization of client method calls.
    
    * Update example_test.go
    
    * Update client_unit_test.go
    
    * Rename client_unit_test.go to client_test.go
    
    * Rename options.go to config.go
    
    * Add package doc
    
    * Unify exporter.go and doc.go into client.go
    
    * Unexport NewClient
    
    * Correct option documentation
    
    * Add env config documentation
    
    * go mod tidy
    
    * Restrict build to Go 1.18
    
    * Update client.go
    
    Fix copied UploadMetrics documentation.
    
    * Run make
    
    * Close client conn even if context deadline reached
    MrAlias committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    f20ead1 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. Add sdk/metric Go pkg docs and example (open-telemetry#3139)

    * Add sdk/metric Go pkg docs
    
    * Add example_test.go
    
    * Add Go 1.18 build guard to example_test.go
    MrAlias committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    df133f0 View commit details
    Browse the repository at this point in the history
  2. Merge main into new_sdk/main (open-telemetry#3141)

    * Use already enabled revive linter and add depguard (open-telemetry#2883)
    
    * Refactor golangci-lint conf
    
    Order settings alphabetically.
    
    * Add revive settings to golangci conf
    
    * Check blank imports
    
    * Check bool-literal-in-expr
    
    * Check constant-logical-expr
    
    * Check context-as-argument
    
    * Check context-key-type
    
    * Check deep-exit
    
    * Check defer
    
    * Check dot-imports
    
    * Check duplicated-imports
    
    * Check early-return
    
    * Check empty-block
    
    * Check empty-lines
    
    * Check error-naming
    
    * Check error-return
    
    * Check error-strings
    
    * Check errorf
    
    * Stop ignoring context first arg in tests
    
    * Check exported comments
    
    * Check flag-parameter
    
    * Check identical branches
    
    * Check if-return
    
    * Check increment-decrement
    
    * Check indent-error-flow
    
    * Check deny list of go imports
    
    * Check import shadowing
    
    * Check package comments
    
    * Check range
    
    * Check range val in closure
    
    * Check range val address
    
    * Check redefines builtin id
    
    * Check string-format
    
    * Check struct tag
    
    * Check superfluous else
    
    * Check time equal
    
    * Check var naming
    
    * Check var declaration
    
    * Check unconditional recursion
    
    * Check unexported return
    
    * Check unhandled errors
    
    * Check unnecessary stmt
    
    * Check unnecessary break
    
    * Check waitgroup by value
    
    * Exclude deep-exit check in example*_test.go files
    
    * Move the minimum version to go 1.17 (open-telemetry#2917)
    
    * Move the minimum version to go 1.17
    
    * Update readme and changelog
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * Use ByteSliceToString from golang.org/x/sys/unix (open-telemetry#2924)
    
    Use unix.ByteSliceToString to convert Utsname []byte fields to strings.
    
    This also allows to drop the charsToString helper which serves the same
    purpose and matches ByteSliceToString's implementation.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * docs: fix typo (open-telemetry#2935)
    
    * add timeout to grpc connection in otel-collector example (open-telemetry#2939)
    
    * Closes: open-telemetry#2951 (open-telemetry#2952)
    
    This PR updates the example listed in the getting started doc
    so that it will compile without error.  It also makes this
    example consistent with the code found in
    https://github.com/open-telemetry/opentelemetry-go/blob/main/example/fib/main.go
    
    Signed-off-by: Brad Topol <btopol@us.ibm.com>
    
    * fix data-model link (open-telemetry#2955)
    
    * Bump go.opentelemetry.io/proto/otlp from v0.16.0 to v0.18.0 (open-telemetry#2960)
    
    * Move to using Instrumentation Scope (open-telemetry#2976)
    
    * Move to using Instrumentation Scope
    
    * Use type alias, not definition
    
    * Add a changelog entry
    
    * docs(website_docs): fix exporting_data.md and getting-started.md toc (open-telemetry#2930)
    
    * docs(website_docs): fix toc
    
    * docs(website_docs): fix toc
    
    * update exporting_data.md for rerun check-links
    
    * update exporting_data.md for rerun check-links
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update getting-started.md (open-telemetry#2984)
    
    grammar edit for line 175 of readme
    
    * fix typo (open-telemetry#2986)
    
    * fix typo
    
    * spell fix
    
    * typo fix (open-telemetry#2991)
    
    * added traces.txt to gitignore for fib (open-telemetry#2993)
    
    * Deprecate Library and move all uses to Scope (open-telemetry#2977)
    
    * Deprecate Library and move all uses to Scope
    
    * Add PR number to changelog
    
    * Don't change signatures in stable modules
    
    * Revert some changes
    
    * Rename internal struct names
    
    * A bit more renaming
    
    * Update sdk/trace/span.go
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update based on feedback
    
    * Revert change
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Feat/bridge support text map (open-telemetry#2911)
    
    * feat: support TextMap
    
    * doc: add comment
    
    * test: support for ot.TextMap
    
    * Retrieve lost code due to merge
    
    * fix: retrieve lost code due to merge. test: support for ot.HTTPHeaders
    
    * go mod tidy
    
    * Optimized code style, add changelog
    
    * doc: Restore comments
    
    * wip: add test cases
    
    * test: fix args error
    
    * delete empty line
    
    * Fix syntax and changelog errors
    
    * Fix formatting errors
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Add a release template (open-telemetry#2863)
    
    * Add a release template
    
    * Update the about field
    
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    
    * Fix linting Issues
    
    * Add ignore for template link
    
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Add workflow to automate bundling dependabot PRs (open-telemetry#2997)
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Release prep 1.8.0 (open-telemetry#3001)
    
    * Update CHANGELOG and versions.yaml for 1.8.0 release
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Update go-build-tools
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Prepare stable-v1 for version v1.8.0
    
    * Prepare experimental-metrics for version v0.31.0
    
    * Prepare bridge for version v0.31.0
    
    * `make go-mod-tidy` should use `-compat=1.17` now
    
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    
    * Update CHANGELOG.md
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Add benchmark metric test for UpDownCounter (open-telemetry#2655)
    
    * add benchmark metric test for UpDownCounter
    
    * move counter annotation up
    
    * fix syncFloat64 to syncInt64
    
    * fix syncFloat64 to syncInt64
    
    * fix go-lint err
    
    * Add semconv/v1.11.0 (open-telemetry#3009)
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Add semconv/v1.12.0 (open-telemetry#3010)
    
    * Add semconv/v1.12.0
    
    * Update all semconv use to v1.12.0
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Add http.method attribute to http server metric (open-telemetry#3018)
    
    * Add http.method attribute to http server metric
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix lint
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix lint
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * fix for reviews
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * add changelog entry
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    
    * Add tests and fix opentracing bridge defer warning (open-telemetry#3029)
    
    * add tests and fix opentracing bridge defer warning
    
    * add changelog entry
    
    * Update CHANGELOG.md
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Update bridge/opentracing/bridge_test.go
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Introduce "split" metric schema transformation (open-telemetry#2999)
    
    This is a new transformation type that allows to describe a change
    where a metric is converted to several other metrics by eliminating
    an attribute.
    
    An example of such change that happened recently is this:
    open-telemetry/opentelemetry-specification#2617
    
    This PR implements specification change open-telemetry/opentelemetry-specification#2653
    
    This PR creates package v1.1 for the new functionality. The old package v1.0
    remains unchanged.
    
    * Release v1.9.0 (open-telemetry#3052)
    
    * Bump versions in versions.yaml
    
    * Prepare stable-v1 for version v1.9.0
    
    * Prepare experimental-schema for version v0.0.3
    
    * Update changelog for release
    
    * Replace ioutil with io and os (open-telemetry#3058)
    
    * Make several vars into consts (open-telemetry#3068)
    
    * Add support for Go 1.19 (open-telemetry#3077)
    
    * Add support for Go 1.19
    
    * Update CHANGELOG.md
    
    Co-authored-by: Sam Xie <sam@samxie.me>
    
    Co-authored-by: Sam Xie <sam@samxie.me>
    
    * Update compatibility documentation (open-telemetry#3079)
    
    Remove 3 month timeline for backwards support of old versions of Go.
    
    * Fix `opentracing.Bridge` where it miss identifying the spanKind  (open-telemetry#3096)
    
    * Fix opentracing.Bridge where it was not identifying the spanKinf correctly
    
    * fix test
    
    * changelog
    
    * Keeping backward comppatibillity
    
    * Update CHANGELOG.md
    
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    
    * Update CHANGELOG.md
    
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * replace `required` by `requirementlevel` (open-telemetry#3103)
    
    * Change the inclusivity of exponential histogram bounds (open-telemetry#2982)
    
    * Use lower-inclusive boundaries
    
    * make exponent and logarithm more symmetric
    
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Update golangci-lint to v1.48.0 (open-telemetry#3105)
    
    * Update golangci-lint to v1.48.0
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    
    * Bump go.opentelemetry.io/proto/otlp from v0.18.0 to v0.19.0 (open-telemetry#3107)
    
    * Bump go.opentelemetry.io/proto/otlp from v0.18.0 to v0.19.0
    
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    
    * Update tracer to guard for a nil ctx (open-telemetry#3110)
    
    * Update tracer to guard for a nil ctx
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
    
    * Fix sdk/instrumentation pkg docs (open-telemetry#3130)
    
    * Add instrumentation scope attributes (open-telemetry#3131)
    
    * Add WithScopeAttributes TracerOption to trace API
    
    * Add Attributes field to instrumentation Scope
    
    * Use scope attributes for new Tracer
    
    * Fix stdouttrace expected test output
    
    * Allow unexported Set fields in sdk/trace test
    
    * Export instrumentation scope attrs in OTLP
    
    * Add changes to the changelog
    
    * Fix imports with make lint
    
    * Add unit tests for WithScopeAttributes
    
    * Fix English in Scope documentation
    
    * Add WithScopeAttributes MeterOption to metric API package (open-telemetry#3132)
    
    * Add WithScopeAttributes MeterOption to metric pkg
    
    * Add MeterConfig unit tests
    
    * Add changes to changelog
    
    * Fix import linting
    
    * Update MeterProvider documentation
    
    Include information about how to use WithScopeAttributes.
    
    * Refactor TracerProvider documentation (open-telemetry#3133)
    
    * Refactor TracerProvider documentation
    
    * Fix English article
    
    * Grammar fixes
    
    * consistency-of:  Changed signal names for website docs (open-telemetry#3137)
    
    * Shut down all processors even on error (open-telemetry#3091)
    
    * Fix stdoutmetric example test
    
    The merged instrumentation Scope includes SchemaURL and Attributes now,
    add them to the expected output.
    
    Signed-off-by: Brad Topol <btopol@us.ibm.com>
    Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    Co-authored-by: Tobias Klauser <tobias.klauser@gmail.com>
    Co-authored-by: petrie <244236866@qq.com>
    Co-authored-by: Damien Mathieu <42@dmathieu.com>
    Co-authored-by: Brad Topol <btopol@us.ibm.com>
    Co-authored-by: Craig Pastro <pastro.craig@gmail.com>
    Co-authored-by: Kshitija Murudi <kmurudi@ncsu.edu>
    Co-authored-by: Petrie Liu <lpfvip2008@gmail.com>
    Co-authored-by: Guangya Liu <gyliu513@gmail.com>
    Co-authored-by: Craig Pastro <craig.pastro@auth0.com>
    Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
    Co-authored-by: ttoad <qq530901331@outlook.com>
    Co-authored-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
    Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
    Co-authored-by: Mikhail Mazurskiy <126021+ash2k@users.noreply.github.com>
    Co-authored-by: Sam Xie <sam@samxie.me>
    Co-authored-by: Alan Protasio <alanprot@gmail.com>
    Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
    Co-authored-by: Mitch Usher <cull.methi@gmail.com>
    Co-authored-by: Gaurang Patel <mr.patelgaurang@gmail.com>
    Configuration menu
    Copy the full SHA
    bdb917e View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

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

Commits on Sep 8, 2022

  1. Add exporters/otlp/otlpmetric/internal/otest (open-telemetry#3125)

    * Add otlpmetric package doc
    
    * Add Client interface
    
    * Add the Exporter
    
    Have the Exporter ensure synchronous access to all client methods.
    
    * Add race detection test for Exporter
    
    * Expand New godocs
    
    * Fix lint
    
    * Restore otlpmetrictest from main
    
    * Rename otlpmetrictest to otest
    
    * Remove data.go
    
    The functions and types it contains are no longer relevant to the SDK.
    
    * Update client context error tests
    
    Remove multiple shutdown tests. The Client interface states this should
    never happen.
    
    * Remove collector.go and otlptest.go
    
    * Expand client tests with ctx and force-flush
    
    * Add UploadMetrics tests
    
    * Test the tests with a trivial client
    
    * Condense all to client.go
    
    * Example of how to run RunClientTests
    
    * Add client integration testing
    
    * Add GRPCCollector
    
    * Remove GRPCCollector to limit scope of PR
    MrAlias committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    40319d9 View commit details
    Browse the repository at this point in the history
  2. Add back the otlpmetrichttp exporter (open-telemetry#3097)

    * Add otlpmetric package doc
    
    * Add Client interface
    
    * Add the Exporter
    
    Have the Exporter ensure synchronous access to all client methods.
    
    * Add race detection test for Exporter
    
    * Expand New godocs
    
    * Fix lint
    
    * Add back the otlpmetrichttp pkg from main
    
    * Restrict to Go 1.18 and above
    
    * Remove integration testing
    
    * Rename client_unit_test.go to client_test.go
    
    * Rename options.go to config.go
    
    * Remove the NewUnstarted func
    
    * Remove Start method from client
    
    * Add no-op ForceFlush method to client
    
    * Update otlpconfig pkg name to oconf
    
    * Rename Stop method to Shutdown
    
    Match the otlpmetric.Client interface.
    
    * Update creation functions to compile
    
    * Remove name field from client
    
    * Remove sync of methods from client
    
    This is handled by the exporter.
    
    * Remove unused generalCfg field from client
    
    * Replace cfg client field with used conf vals
    
    * Use a http request instead of url/header fields
    
    * Remove NewClient and move New into client.go
    
    * Rename client.client field to client.httpClient
    
    * Update client tests
    
    Remove test of a retry config and add functional tests of the client
    methods honoring a context.
    
    * Remove deprecated WithMaxAttempts and WithBackoff
    
    * Update option docs
    
    Include info on envvars.
    
    * Fix lint
    
    * Fix lint errors
    
    * Revert New to accept a context
    
    * Add example test
    
    * Update pkg docs
    
    * go mod tidy
    
    * Use url.URL to form HTTP request URL
    MrAlias committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    9550f7b View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. Remove stale TODO in sdk/view (open-telemetry#3149)

    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    MrAlias and hanyuancheung committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    c3c815d View commit details
    Browse the repository at this point in the history
  2. Use unique metric testing data in reader_test (open-telemetry#3151)

    Address unresolved TODO.
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    MrAlias and hanyuancheung committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    36204eb View commit details
    Browse the repository at this point in the history
  3. Add new metric SDK changes to changelog (open-telemetry#3150)

    Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
    MrAlias and MadVikingGod committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    a087b9f View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Add integration and config testing to otlpmetricgrpc (open-telemetry#…

    …3126)
    
    * Add the GRPCCollector to otest
    
    * Use otest to test otlpmetricgrpc Client
    
    * Add WithHeaders and WithTimeout tests
    MrAlias committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    dc0eb59 View commit details
    Browse the repository at this point in the history
  2. Add integration and config testing to otlpmetrichttp (open-telemetry#…

    …3155)
    
    * Add HTTPCollector to otest
    
    * Add integration testing for otlpmetrichttp
    
    * Fix NewHTTPCollector docs
    
    * Add config tests
    
    * Fix lint
    
    * Add WithURLPath test
    
    * Add WithTLSClientConfig test
    
    * Ignore depguard for crypto/x509/pkix
    
    This is a testing package that uses the package to generate a weak
    testing TLS certificate.
    MrAlias committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    a8b1c85 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

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

Commits on Sep 15, 2022

  1. Configuration menu
    Copy the full SHA
    88e49c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03c2e0b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    398f087 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0e1db2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e980ca View commit details
    Browse the repository at this point in the history