* Prepare v0.16.0 release
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Fix Cortex exporter histogram sumamrization
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Avoid double closing a done channel
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Treat cortex histogram bucket counts as floats since they will be coerced to float64 anyways
* Remove unused test helper
* Fix datadog example test
* Fix TraceState comparisons in propagator tests
* 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
* 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
* Create auth.go, auth_test.go and add copyright and license
* Add helper function to create files for testing
* Setup authentication tests and add first test for BasicAuth
* Add BasicAuth and error definitions
* Add additional tests for BasicAuth
* Add file creation to pass basic auth tests
* Add bearer token tests
* Add bearer token authentication
* Adjust timestamp to milliseconds and remove debugging print statement
* Run make precommit and fix lint issues
* Changed error strings to start with lowercase letter
* Add explicit base time unit to timestamp
* Moved basic auth validation and validation tests to config.go
* Update comments for clarity
* Add addHeaders for adding headers to a HTTP request and TestAddHeaders
* Add buildMessage for creating a compressed protobuf message and tests
* Add buildRequest for creating the HTTP request and TestBuildRequest
* Add sendRequest, TestSendRequest, and test helper function
* Run make precommit
* Change test helper function name, adjust comments, run make precommit
* Add Config struct definition, test files, and testing data
* Add tests for Validate method
* Implement Validate method
* Add Config utility files and testing data
* Add helper function to create YAML files for testing
* Add NewConfig function, Options interface, and tests
* Add Viper tags to Config struct and two With functions
* Add test for WithFilepath
* Add WithClient and test for WithClient
* Remove default for http client and adjust tests
* Add check for conflicting authentication types and update tests
* Update README.md
* Run make precommit
* Add example Config struct
* Add NewRawExporter for creating an Exporter and TestNewRawExporter
* Add NewExportPipeline for creating a controller and TestNewExportPipeline
* Add InstallNewPipeline and TestInstallNewPipeline
* Update README and run make precommit