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

Bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 in /internal/awsxray #7

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 28, 2020

Bumps github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32.

Release notes

Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.34.32 (2020-09-25)

Service Client Updates

  • service/batch: Updates service API and documentation
    • Support custom logging, executionRole, secrets, and linuxParameters (initProcessEnabled, maxSwap, swappiness, sharedMemorySize, and tmpfs). Also, add new context keys for awslogs.
  • service/config: Updates service API
  • service/docdb: Updates service documentation
    • Documentation updates for docdb
  • service/ec2: Updates service API and documentation
    • This release supports returning additional information about local gateway resources, such as the local gateway route table.
  • service/frauddetector: Updates service API and documentation
  • service/sts: Updates service API and documentation
    • Documentation update for AssumeRole error

Release v1.34.31 (2020-09-24)

Service Client Updates

  • service/amplify: Updates service API and documentation
  • service/eks: Updates service API and documentation
  • service/savingsplans: Updates service API and documentation
  • service/synthetics: Updates service API and documentation
  • service/textract: Updates service API and documentation
  • service/transcribe: Updates service API and documentation

Release v1.34.30 (2020-09-23)

Service Client Updates

  • service/backup: Updates service API and documentation
  • service/ce: Updates service API and documentation
  • service/quicksight: Updates service API and documentation
    • Added Sheet information to DescribeDashboard, DescribeTemplate and DescribeAnalysis API response.
  • service/translate: Updates service API and documentation

SDK Enhancements

  • service/s3/s3manager: Prefer using allocated slices from pool over allocating new ones. (#3534)

Release v1.34.29 (2020-09-22)

Service Client Updates

  • service/comprehend: Updates service API and documentation
  • service/lex-models: Updates service API and documentation
  • service/streams.dynamodb: Updates service API and documentation
  • service/workmail: Updates service API, documentation, and paginators
    • Adding support for Mailbox Export APIs

Release v1.34.28 (2020-09-21)

... (truncated)

Changelog

Sourced from github.com/aws/aws-sdk-go's changelog.

Release v1.34.32 (2020-09-25)

Service Client Updates

  • service/batch: Updates service API and documentation
    • Support custom logging, executionRole, secrets, and linuxParameters (initProcessEnabled, maxSwap, swappiness, sharedMemorySize, and tmpfs). Also, add new context keys for awslogs.
  • service/config: Updates service API
  • service/docdb: Updates service documentation
    • Documentation updates for docdb
  • service/ec2: Updates service API and documentation
    • This release supports returning additional information about local gateway resources, such as the local gateway route table.
  • service/frauddetector: Updates service API and documentation
  • service/sts: Updates service API and documentation
    • Documentation update for AssumeRole error

Release v1.34.31 (2020-09-24)

Service Client Updates

  • service/amplify: Updates service API and documentation
  • service/eks: Updates service API and documentation
  • service/savingsplans: Updates service API and documentation
  • service/synthetics: Updates service API and documentation
  • service/textract: Updates service API and documentation
  • service/transcribe: Updates service API and documentation

Release v1.34.30 (2020-09-23)

Service Client Updates

  • service/backup: Updates service API and documentation
  • service/ce: Updates service API and documentation
  • service/quicksight: Updates service API and documentation
    • Added Sheet information to DescribeDashboard, DescribeTemplate and DescribeAnalysis API response.
  • service/translate: Updates service API and documentation

SDK Enhancements

  • service/s3/s3manager: Prefer using allocated slices from pool over allocating new ones. (#3534)

Release v1.34.29 (2020-09-22)

Service Client Updates

  • service/comprehend: Updates service API and documentation
  • service/lex-models: Updates service API and documentation
  • service/streams.dynamodb: Updates service API and documentation
  • service/workmail: Updates service API, documentation, and paginators
    • Adding support for Mailbox Export APIs

Release v1.34.28 (2020-09-21)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.22 to 1.34.32.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.34.22...v1.34.32)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 28, 2020
@mx-psi mx-psi closed this Oct 1, 2020
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 1, 2020

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/internal/awsxray/github.com/aws/aws-sdk-go-1.34.32 branch October 1, 2020 08:52
KSerrania pushed a commit that referenced this pull request May 18, 2022
* Add basic CI for unit testing
mackjmr pushed a commit that referenced this pull request Nov 19, 2024
… Histo --> Histogram (open-telemetry#33824)

## Description

This PR adds a custom metric function to the transformprocessor to
convert exponential histograms to explicit histograms.

Link to tracking issue: Resolves open-telemetry#33827

**Function Name**
```
convert_exponential_histogram_to_explicit_histogram
```

**Arguments:**

- `distribution` (_upper, midpoint, uniform, random_)
- `ExplicitBoundaries: []float64`

**Usage example:**

```yaml
processors:
  transform:
    error_mode: propagate
    metric_statements:
    - context: metric
      statements:
        - convert_exponential_histogram_to_explicit_histogram("random", [10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]) 
```

**Converts:**

```
Resource SchemaURL: 
ScopeMetrics #0
ScopeMetrics SchemaURL: 
InstrumentationScope  
Metric #0
Descriptor:
     -> Name: response_time
     -> Description: 
     -> Unit: 
     -> DataType: ExponentialHistogram
     -> AggregationTemporality: Delta
ExponentialHistogramDataPoints #0
Data point attributes:
     -> metric_type: Str(timing)
StartTimestamp: 1970-01-01 00:00:00 +0000 UTC
Timestamp: 2024-07-31 09:35:25.212037 +0000 UTC
Count: 44
Sum: 999.000000
Min: 40.000000
Max: 245.000000
Bucket (32.000000, 64.000000], Count: 10
Bucket (64.000000, 128.000000], Count: 22
Bucket (128.000000, 256.000000], Count: 12
        {"kind": "exporter", "data_type": "metrics", "name": "debug"}
```

**To:**

```
Resource SchemaURL: 
ScopeMetrics #0
ScopeMetrics SchemaURL: 
InstrumentationScope  
Metric #0
Descriptor:
     -> Name: response_time
     -> Description: 
     -> Unit: 
     -> DataType: Histogram
     -> AggregationTemporality: Delta
HistogramDataPoints #0
Data point attributes:
     -> metric_type: Str(timing)
StartTimestamp: 1970-01-01 00:00:00 +0000 UTC
Timestamp: 2024-07-30 21:37:07.830902 +0000 UTC
Count: 44
Sum: 999.000000
Min: 40.000000
Max: 245.000000
ExplicitBounds #0: 10.000000
ExplicitBounds #1: 20.000000
ExplicitBounds #2: 30.000000
ExplicitBounds #3: 40.000000
ExplicitBounds #4: 50.000000
ExplicitBounds #5: 60.000000
ExplicitBounds #6: 70.000000
ExplicitBounds #7: 80.000000
ExplicitBounds #8: 90.000000
ExplicitBounds #9: 100.000000
Buckets #0, Count: 0
Buckets #1, Count: 0
Buckets #2, Count: 0
Buckets #3, Count: 2
Buckets #4, Count: 5
Buckets #5, Count: 0
Buckets #6, Count: 3
Buckets #7, Count: 7
Buckets #8, Count: 2
Buckets #9, Count: 4
Buckets #10, Count: 21
        {"kind": "exporter", "data_type": "metrics", "name": "debug"}
```

### Testing

- Several unit tests have been created. We have also tested by ingesting
and converting exponential histograms from the `statsdreceiver` as well
as directly via the `otlpreceiver` over grpc over several hours with a
large amount of data.

- We have clients that have been running this solution in production for
a number of weeks.

### Readme description:

### convert_exponential_hist_to_explicit_hist

`convert_exponential_hist_to_explicit_hist([ExplicitBounds])`

the `convert_exponential_hist_to_explicit_hist` function converts an
ExponentialHistogram to an Explicit (_normal_) Histogram.

`ExplicitBounds` is represents the list of bucket boundaries for the new
histogram. This argument is __required__ and __cannot be empty__.

__WARNING:__

The process of converting an ExponentialHistogram to an Explicit
Histogram is not perfect and may result in a loss of precision. It is
important to define an appropriate set of bucket boundaries to minimize
this loss. For example, selecting Boundaries that are too high or too
low may result histogram buckets that are too wide or too narrow,
respectively.

---------

Co-authored-by: Kent Quirk <kentquirk@gmail.com>
Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant