Commit Graph

499 Commits

Author SHA1 Message Date
Matej Gera 89ae255fe3
Remove `go.opentelemetry.io/otel/sdk` dependency from instrumentation (#381)
* Examples into separate modules

- Create separate go.mod for intrumentation examples
- Update and clean-up go.mod files for instrumentation
- Use replace directive to on-disk location where appropriate

* Remove SDK from metric tests

- replace SDK with internal trace test helper package

* Update dependabot config

* Update gitignore to exclude example binaries

* Update CHANGELOG.md

* PR feedback - include additional replace directives

- Include missing replace directives in example go.mod files
2020-10-05 14:41:38 -04:00
Tyler Yahn caffe1d22f
Fix import comment bug (#379)
* Fix import comment bug

The import of the
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp is
failing when imported outside of a module because this comment did not
have a syntactically valid import statement.

* Add changes to changelog
2020-10-02 12:51:32 -07:00
Tyler Yahn 5ef58e7fab
Add instrumentation signal table to instrumentation README (#372) 2020-09-30 07:49:04 -07:00
Zhongyang Wu 71b6d7fc42
[propagator] Set sample bitmask when sampling decision is debug for B3 Propagator. (#369)
According to the spec. Debug sampling decision implies accept(sampled) decision.

But we didn't set sample bitmask. So when trace state is debug, `IsSampled` method will still return false, which is different from spec.

Now we make sure when debug bitmask is set, sample bitmask will also be set.

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-29 07:48:48 -07:00
dependabot[bot] 9dc5e0c25b
Bump github.com/aws/aws-sdk-go from 1.34.30 to 1.34.32 in /detectors/aws (#370)
* Bump github.com/aws/aws-sdk-go from 1.34.30 to 1.34.32 in /detectors/aws

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.30 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](https://github.com/aws/aws-sdk-go/compare/v1.34.30...v1.34.32)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-09-28 09:17:22 -07:00
Anthony Mirabella e84d6d6575
Update to API v0.12.0 (#363)
* Update to API v0.12.0

* Update CHANGELOG.md

* Fix references to contrib/propagators module
2020-09-25 12:04:47 -04:00
dependabot[bot] b313ddb298
Bump github.com/golang/snappy from 0.0.1 to 0.0.2 in /exporters/metric/cortex (#362)
* Bump github.com/golang/snappy in /exporters/metric/cortex

Bumps [github.com/golang/snappy](https://github.com/golang/snappy) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/golang/snappy/releases)
- [Commits](https://github.com/golang/snappy/compare/v0.0.1...v0.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-24 11:59:37 -07:00
dependabot[bot] e985d42454
Bump github.com/aws/aws-sdk-go from 1.34.27 to 1.34.30 in /detectors/aws (#361)
* Bump github.com/aws/aws-sdk-go from 1.34.27 to 1.34.30 in /detectors/aws

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.27 to 1.34.30.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.27...v1.34.30)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-09-24 11:44:22 -07:00
Tyler Yahn 65f835068e
Update instrumentation naming (#359)
* Update README

* Update google.golang.org/grpc

* Update go.mongodb.org/mongo-driver

* Update net/http and net/http/httptrace

* Update github.com/labstack/echo

* Update github.com/bradfitz/gomemcache

* Update github.com/gin-gonic/gin

* Update github.com/gocql/gocql

* Update github.com/emicklei/go-restful

* Update github.com/Shopify/sarama

* Update github.com/gorilla/mux

* Update github.com/astaxie/beego

* Update gopkg.in/macaron.v1

* Update Makefile

* Update dependabot config

* Update gitignore

* Update CHANGELOG

* Update CHANGELOG with rename of beego struct
2020-09-24 09:06:26 -07:00
Aman Brar 96b0b007cf
updated macaron go module declaration (#356)
* updated macaron go module declaration

* updated macaron package location in all areas
2020-09-22 10:29:35 -07:00
dependabot[bot] 6d5d814987
Bump cloud.google.com/go from 0.65.0 to 0.66.0 in /detectors/gcp (#354)
* Bump cloud.google.com/go from 0.65.0 to 0.66.0 in /detectors/gcp

Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.65.0 to 0.66.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.65.0...v0.66.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2020-09-20 15:37:50 -04:00
dependabot[bot] 955ea9d001
Bump github.com/aws/aws-sdk-go from 1.34.23 to 1.34.27 in /detectors/aws (#353)
* Bump github.com/aws/aws-sdk-go from 1.34.23 to 1.34.27 in /detectors/aws

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.23 to 1.34.27.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.23...v1.34.27)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-09-20 13:18:41 -04:00
Kelvin Lo 9d8562d23e
Build both go-1.14 and go-1.15 in circleci with new custom executors (#351) 2020-09-17 16:48:31 -07:00
dependabot[bot] d8c4868cc4
Bump github.com/spf13/afero from 1.3.5 to 1.4.0 in /exporters/metric/cortex/utils (#348)
* Bump github.com/spf13/afero in /exporters/metric/cortex/utils

Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.3.5 to 1.4.0.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](https://github.com/spf13/afero/compare/v1.3.5...v1.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-15 08:35:48 -07:00
dependabot[bot] 45e350b5f2
Bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.23 in /detectors/aws (#347)
* Bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.23 in /detectors/aws

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

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-15 08:23:22 -07:00
dependabot[bot] d334aff336
Bump github.com/google/go-cmp from 0.5.1 to 0.5.2 in /propagators (#346)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.1...v0.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:15:28 -07:00
ET c5771c8dda
Move B3 propagator from main repo to contrib repo (#344)
* Move B3 context propagator from go.opentelemetry.io/otel repo.

* Add to dependabot.yml

* Update README.  Add doc.go

* Updated CHANGELOG to reflect addition of B3 propagator.

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-15 08:07:11 -07:00
dependabot[bot] 22ec41426a
Bump google.golang.org/grpc from 1.31.1 to 1.32.0 in /instrumentation/google.golang.org/grpc (#340)
* Bump google.golang.org/grpc in /instrumentation/google.golang.org/grpc

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.31.1...v1.32.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

* s/RegisterTestServiceServer/RegisterTestServiceService/

Name change in one of the test helper APIs.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Torrie <evantorrie@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2020-09-14 12:19:52 -04:00
ET d4a624b97d
Add Skip Changelog label to dependabot-sourced PRs. (#345)
The same was done in https://github.com/open-telemetry/opentelemetry-go/pull/1161
2020-09-13 18:48:32 -04:00
Vladimir Mihailenco 943427897d
mongo: use db.operation instead of resource.name (#337)
* mongo: use db.operation instead of resource.name

* mongo: remove unused tags
2020-09-13 05:04:54 -04:00
dependabot[bot] 39944bf252
Bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 in /detectors/aws (#341)
* Bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 in /detectors/aws

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

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-09-13 03:42:46 -04:00
dependabot[bot] 7bc5d1e0aa
Bump github.com/golangci/golangci-lint from 1.30.0 to 1.31.0 in /tools (#343)
* Bump github.com/golangci/golangci-lint from 1.30.0 to 1.31.0 in /tools

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.30.0...v1.31.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-09-13 02:07:15 -04:00
Eric Lee 243c54450a
Add design doc and future enhancements sections to README (#339) 2020-09-11 15:05:06 -07:00
Anthony Mirabella 9e80ea6527
Update configure() to newConfig() per new style guide (#336)
* Update configure() to newConfig() per new style guide

* Update gocql newConfig to reflect correct type it initializes

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-11 14:29:10 -07:00
Eric Lee 071a049a6a
[Prometheus Remote Write Exporter for Cortex] Documentation Updates (#333)
* Update utils README

* Update comments in utils module

* Update comments in example module

* Update example module README

* Update project README

* Add supported properties to utils submodule README

* Add authentication section to project README

* Add Table of Contents

* Add aggregation mapping section and update table of contents

* Add error handling and retry logic sections and update toc

* Update retry logic section of project README

* Clarify code snippet comment in project README

* Add Installation section and update TOC

* Correct installation link
2020-09-10 12:49:19 -07:00
Vladimir Mihailenco 5997cc357c
mongo: use db.system instead of db.type (#335) 2020-09-10 14:02:58 -04:00
Eric Lee 3ea5332df8
Restore tests for auth_test.go on 386 (#334) 2020-09-09 14:14:38 -04:00
Anthony Mirabella c55a925c19
Allow custom labels to be added to net/http metrics (#306)
* Allow custom labels to be added to net/http metrics

* CHANGELOG entry

* Add license to labeler.go

* Address PR Feedback:

* Add mutex around access to labels
* Add Labeler use to handler example test

* Add getter to Labeler
2020-09-09 01:09:46 -04:00
Reginald McDonald 5a0832bf9a
chore: add version to gorilla/mux instrumentation (#325) 2020-09-08 21:37:09 -04:00
Reginald McDonald e066389d74
chore: add sem version to gin-gonic instrumentation (#324) 2020-09-08 21:11:06 -04:00
ET abfd5506c3
Distinguish between gin.Context and context.Context in example (#322) 2020-09-08 21:04:33 -04:00
Eric Lee b7beb0f53b
[Prometheus Remote Write Exporter for Cortex] Add Enhancements and Fixes (#326)
* Add default quantiles, update config tests, and add quantile tests

* Change sendRequest test to use non-empty request and verify the payload

* Refactor createLabelSet to use label.KeyValue instead of strings

* Refactor ConvertToTimeSeries to add the correct labels for histogram and distribution timeseries

* Change createTimeSeries to use specified NumberKind and update conversion functions

* Remove validCheckpointSet test

* Change mock time to milliseconds for conversion tests

* Fix error where results in TestConvertToTimeSeries weren't being compared

* Update convertFromSum, convertFromLastValue tests to use multiple values

* Add tests for quantiles and distributions in utils module

* Update docker-compose and reduce sleep time in main.go for example project

* Fix docker-compose to pass CI test

* Run make precommit

* Update default Config quantiles

* Update tests to match new quantile defaults

* Run make precommit
2020-09-08 13:23:29 -07:00
dependabot[bot] 9a032d82d5
Bump github.com/spf13/afero from 1.3.4 to 1.3.5 in /exporters/metric/cortex/utils (#332)
* Bump github.com/spf13/afero in /exporters/metric/cortex/utils

Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](https://github.com/spf13/afero/compare/v1.3.4...v1.3.5)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-08 10:50:47 -07:00
dependabot[bot] de985d76c6
Bump github.com/shirou/gopsutil from 2.20.7+incompatible to 2.20.8+incompatible in /instrumentation/host (#331)
* Bump github.com/shirou/gopsutil in /instrumentation/host

Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 2.20.7+incompatible to 2.20.8+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v2.20.7...v2.20.8)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-08 10:35:21 -07:00
dependabot[bot] 3bdafc879b
Bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 in /detectors/aws (#330)
* Bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 in /detectors/aws

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.13 to 1.34.18.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.13...v1.34.18)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-08 10:25:18 -07:00
dependabot[bot] 5a11c852e2
Bump github.com/emicklei/go-restful/v3 from 3.3.0 to 3.3.1 in /instrumentation/github.com/emicklei/go-restful (#329)
* Bump github.com/emicklei/go-restful/v3

Bumps [github.com/emicklei/go-restful/v3](https://github.com/emicklei/go-restful) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/emicklei/go-restful/releases)
- [Changelog](https://github.com/emicklei/go-restful/blob/v3.3.1/CHANGES.md)
- [Commits](https://github.com/emicklei/go-restful/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-08 10:00:54 -07:00
dependabot[bot] b2001ac4c3
Bump go.mongodb.org/mongo-driver from 1.4.0 to 1.4.1 in /instrumentation/go.mongodb.org/mongo-driver (#328)
* Bump go.mongodb.org/mongo-driver

Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-08 09:30:34 -07:00
Reginald McDonald 1fd4aeba2a
chore: add version to echo instrumentation (#327) 2020-09-08 08:57:40 -07:00
Tyler Yahn 824feff5a9
Add @XSAM as an approver (#321)
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2020-09-03 12:45:05 -04:00
Eric Lee 6f61c54dd6
[Prometheus Remote Write Exporter for Cortex] Fix Panic Issue in MutualTLS Test (#315)
* Add static ECSDA cert files, cert generator script, and update auth_test

* Add new line and comment to cert generation script

* Remove extra new line from comment

* Add test for generated certs and fix file names

* Change key generation to ecdsa p256

* Run certificate generator script to retry CI tests

* Remove static certificate files and bash script

* Update comment to retry tests

* Update comment to retry tests
2020-09-03 09:36:52 -07:00
ET e497214722
Add missing directory parameter to find command in dependabot-check (#323) 2020-09-02 07:29:28 -07:00
Sam Xie faaf7c0468
Unify instrumentation *Provider options (#303)
* Unify instrumentation options for mongo-driver

* Unify instrumentation options for gin

* Unify instrumentation options for gorilla

* Unify instrumentation options for labstack echo

* Unify instrumentation options for go-restful

* Unify instrumentation options for gomemcache

* Unify instrumentation options for sarama

* Unify instrumentation options for net/http

* Unify instrumentation options for beego

* Update instrumentation guidelines about uniform *Provider options

* update CHANGELOG

* Update guidelines

* Fix naming and remove unnecessary fields

* Avoid the escalation of a test failure to panic

* Make config struct of instrumentation unexported

* Update style guide

* Update CHANGELOG

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-09-01 09:17:51 -07:00
dependabot[bot] dc7145c79b
Bump github.com/labstack/echo/v4 from 4.1.16 to 4.1.17 in /instrumentation/github.com/labstack/echo (#317)
* Bump github.com/labstack/echo/v4

Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.1.16 to 4.1.17.
- [Release notes](https://github.com/labstack/echo/releases)
- [Commits](https://github.com/labstack/echo/compare/v4.1.16...v4.1.17)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-08-31 10:18:08 -07:00
dependabot[bot] 3aaff89752
Bump github.com/aws/aws-sdk-go from 1.34.11 to 1.34.13 in /detectors/aws (#318)
* Bump github.com/aws/aws-sdk-go from 1.34.11 to 1.34.13 in /detectors/aws

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.11 to 1.34.13.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.11...v1.34.13)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-08-31 10:03:44 -07:00
dependabot[bot] f598244c33
Bump cloud.google.com/go from 0.64.0 to 0.65.0 in /detectors/gcp (#309)
* Bump cloud.google.com/go from 0.64.0 to 0.65.0 in /detectors/gcp

Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.64.0 to 0.65.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.64.0...v0.65.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-08-27 17:11:37 -07:00
Tyler Yahn e6529ec93a
Ignore auth_test for 386 builds (#312)
Temporary fix while #310 is addressed.
2020-08-27 16:58:28 -07:00
dependabot[bot] c8b10ad689
Bump github.com/google/go-cmp from 0.5.1 to 0.5.2 in /exporters/metric/cortex (#308)
* Bump github.com/google/go-cmp in /exporters/metric/cortex

Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.1...v0.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-08-27 12:37:41 -07:00
dependabot[bot] 1fe464deee
Bump github.com/aws/aws-sdk-go from 1.34.10 to 1.34.11 in /detectors/aws (#307)
* Bump github.com/aws/aws-sdk-go from 1.34.10 to 1.34.11 in /detectors/aws

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.10 to 1.34.11.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.10...v1.34.11)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-08-27 08:21:29 -07:00
Tyler Yahn a222aeec5c
Update dependabot config (#304)
* Update dependabot config

Add check for github-actions.
Add missing exporters and instrumentation.
Remove redundant comments.
Change check to be weekly on Sunday to reduce load and churn.
Sort alphanumerically.

* Add check to Makefile for dependabot entry
2020-08-27 08:13:56 -07:00
Eric Lee 1f7546cabd
[Prometheus Remote Write Exporter for Cortex] Add TLS Support and Default HTTP Client (#255)
* Start buildClient for creating a default HTTP client

* Add TestBuildClient and first subtest

* Update TestBuildClient with TLS server, TLS Config, and Proxy URL

* Add methods for loading user-supplied certificates

* Add buildTLSConfig for creating a new TLS Config struct

* Add TLS Config and Proxy URL to buildClient, and update TestBuildClient

* Add additional tests for TestBuildClient

* Add helper function for generating certificate files

* Add helper function for generating CA certificate files

* Add helper function for generating serving certificate files

* Add helper function for generating client certificate files

* Add part of integration test with certificate creation and TLS server

* Add helper function for creating the test server's TLS Config struct

* Update TestMutualTLS by adding TLS Config to server and client

* Run make precommit and fix lint errors

* Adjust test for BuildClient

* Change certificate loading functions into inline conditionals

* Change ProxyURL to be a url.URL instead of a string

* Add check for InsecureSkipVerify to avoid parse errors

* Change client Transport to use http.DefaultTransport as base

* Change require.Nil to require.NoError for error checks

* Change require.Error to assert.Error in some areas

* Write certificate and key files directly instead of to memory first

* Update DialContext timeout and KeepAlive for retrying CI test

* Revert increase to DialContext timeout and keepalive to retry CI test
2020-08-26 16:35:31 -07:00