arun-shopify
Repos
1

Prometheus instrumentation library for Go applications

4267
982

Contrib repository for the OpenTelemetry Collector

1272
1059

Events

setting TraceID and SpanID fields in Exemplar objects in spanmetricsp…

@Aneurysm9 merge conflicts are resolved but that may short lived until something gets merged in the main branch.

Created at 1 month ago

[confmap.provider/s3provider] Rename from s3mapprovider to s3provider (#14617)

For consistency, its better to keep it as s3provider. Also improved comments in the code, few minor changes and added unit tests

[exporter/awsxrayexporter] RFC: SQL segments should use span name for 'url' (#13864)

Changed the XRay SQL segment translator to send the span name as the 'XRay segment URL' instead of the connection string. This is because in my opinion it is a lot more useful to see this information in the Xray UI (example screenshots below).

[internal/scrapertest] Fix lint issues from old PR being merged (#14880)

setting TraceID and SpanID fields in Exemplar objects in spanmetricsprocessor and removing the use of FilteredAttributes to pass these values around.

Created at 1 month ago

[receiver/iis] Fix flaky test by ignoring volatile attribute value (#14758)

[pkg/stanza] readerFactory and Reader use helper.Encoding directly (#14724)

  • Move FlusherConfig and SplitterConfig from multiline file to new file

[chore] Replace usage of deprecated Map.PutString (#14739)

Use BuildInfo.Command for identifying the collector in some AWS exporter user agents (#14719)

Signed-off-by: Anthony J Mirabella a9@aneurysm9.com

[pkg/stanza] move FlusherConfig and SplitterConfig to new file (#14762)

move FlusherConfig and SplitterConfig from multiline file to new file.

Use the new scrape config endpoint for the prometheus receiver (#14464)

This fixes issue 1106 in the operator which relates to the collector failing to get scrape config jobs from the target allocator. Before this is merged this pr needs to be merged which adds this new endpoint.

[receiver/snmpreceiver] Add boilerplate skeleton for SNMP metric receiver (#14714)

[receiver/elasticsearch]: add scraping indices (#14748)

[pkg/stanza] readerFactory and Reader use bufio.SplitFunc directly (#14767)

  • readerFactory and Reader use bufio.SplitFunc directly, no longer depends on helper.Splitter

[receiver/mysql]: add mysql.locked_connects metric (#14745)

feat(mysqlreceiver): add mysql.locked_connects metric

Bump go-build-tools to v0.1.0 (#14764)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

exporter/datadogexporter: fix problematic memory usage conversion (#14619)

  • exporter/datadogexporter: fix problematic memory usage conversion

This change fixes a bug with the memory usage system metric, potentially caused by the hacky configuration used for converting these metrics. Instead, this PR manually converts the system metrics.

  • Update release note

  • Remove replace directive

  • Address comments

  • Remove boolean

  • Add interval 1 everywhere

  • All have interval 1

[receiver/hostmetrics] Continue scraping filesystem metric with partitions info available (#14734)

In case an error is returned while gathering partitions information, try to keep going if any subset of partitions was provided.

[chore] Change exporter config tests to unmarshal config only for that component. (part2) (#14773)

[x] f5cloudexporter [x] fileexporter [x] googlecloudexporter [x] googlecloudpubsubexporter [x] googlemanagedprometheusexporter [x] humioexporter [x] influxdbexporter [x] instanaexporter [x] jaegerexporter [x] jaegerthrifthttpexporter [x] kafkaexporter [x] loadbalancingexporter [x] lokiexporter [x] mezmoexporter

[chore] Update core dependency (#14765)

Add evan-bradley to OTTL and Transform Processor code owners (#14784)

Co-authored-by: Evan Bradley evan-bradley@users.noreply.github.com

[receiver/kubeletstats] fix use network io as network errors bug (#14320)

fix bug: internal/network.go use network io as network errors

[receiver/mysql]: Fix syntax for table and index queries (#14789)

  • fix(mysqlreceiver): fix queries syntax

Signed-off-by: Dominik Rosiek drosiek@sumologic.com

[receiver/snmpreceiver] - Adds the full configuration for the SNMP metric receiver (#14775)

  • SNMP Receiver full config and tests added

[exporter/elasticsearch] fix lint for exporter/elasticsearch (#12933)

  • [exporter/elasticsearch] fix lint for exporter/elasticsearch
Created at 1 month ago

[pkg/telemetryquerylanguage] add replace_key_all_patterns function (#12991)

  • [pkg/telemetryquerylanguage] enhance replace_all_patterns function

setting TraceID and SpanID fields in Exemplar objects in spanmetricsprocessor and removing the use of FilteredAttributes to pass these values around.

Created at 1 month ago
setting TraceID and SpanID fields in Exemplar objects in spanmetricsp…

@Aneurysm9 @djaglowski pinging for review :)

Created at 1 month ago

[chore] signalfxexporter: test e2e hostmetrics -> cpu.utilization conversion (#14721)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[processor/cumulativetodelta] Reduce Memory Consumption (#14729)

Remove unnecessary storage of metric identity containing all the associated attribute values.

Add changelog

[extension/sigv4authextension] Make sts_region default to region if value not provided (#14630)

  • Make sts_region default to region if not provided

  • ran go fmt

feat(mysqlreceiver): add mysql.tmp_resources metric (#14726)

Signed-off-by: Dominik Rosiek drosiek@sumologic.com

Signed-off-by: Dominik Rosiek drosiek@sumologic.com

setting TraceID and SpanID fields in Exemplar objects in spanmetricsprocessor and removing the use of FilteredAttributes to pass these values around.

Created at 1 month ago

setting TraceID and SpanID fields in Exemplar objects in spanmetricsprocessor and removing the use of FilteredAttributes to pass these values around.

Created at 1 month ago
setting TraceID and SpanID fields in Exemplar objects in spanmetricsp…

@bogdandrutu pinging for review :)

Created at 1 month ago

[receiver/dockerstats] For V2 implementation, create sensible enabled defaults (#14093)

This is not a breaking change unless you are using the non-default V2 scraper which is behind a feature gate.

Currently almost every metric is enabled by default, which was done to demonstrate feature parity with the original V1 scraper which enables almost everything by default.

This changes so most metrics are not enabled by default, and instead a sensible set of defaults are enabled. There are many very detailed memory and block IO metric that 99% of users will never need, and all it does it consume needless MTS.

The change brings the default set of metrics from 63 to 14.

[pkg/translator/loki] Split conversion logic into a package (#14106)

As a second step of the Loki exporter refactoring, this change splits the conversion logic into its own package, so that it can be consumed by Loki itself in the future.

[processor/spanmetricsprocessor] Rename calls_total in doc (#13425)

At some point the calls metric was renamed to calls_total, but the doc wasn't updated.

[receiver/jaegerreceiver] Remove jaeger remote sampling from receiver (#14163)

Signed-off-by: Benedikt Bongartz bongartz@klimlive.de

[processor/transform] Add Split function to transform processor (#13981)

Add split function to convert a string attribute into an array of substrings split by the delimiter.

[processor/spanmetrics] Remove usage of deprecated pcommon.NewMapFromRaw (#14176)

[receiver/mongodbatlas] Fix timestamp parsing for mongodb 4.2 audit logs (#14173)

fix timestamp parsing for mongodb 4.2 audit logs

[receiver/mongodbatlas] Avoid infinite loop in audit log parsing (#14179)

Avoid infinite loop in audit log parsing

[chore] Update core dependancy (#14159)

  • [chore] Update core dependancy

  • [processor/spanmetrics] Remove usage of deprecated pcommon.NewMapFromRaw

[internal/coreinternal/processor/filter*] adding filtering based on span kinds (#13612)

  • adding filtering based on span kinds

  • fixed tests

  • unreleased yaml

  • span kind validation

  • Update internal/coreinternal/processor/filterconfig/config.go

Co-authored-by: Pablo Baeyens pbaeyens31+github@gmail.com

  • added test for spankind config validation

  • added comment

Co-authored-by: Pablo Baeyens pbaeyens31+github@gmail.com

exporter/datadogexporter: map "hostmetrics" receiver metrics to Datadog system metrics (#13980)

  • exporter/datadogexporter: add support for infra metrics

  • Apply PR review suggestions

  • Add system.cpu.system

  • Add system.swap.{free,used}

  • Convert system.net.bytes_{sent,rcvd} metrics to Gauges

  • Add interval: 1

  • Fix rebase mistake

  • Use exporter ComponentID as part of "child" processor name

GoogleCloudSpannerReceiver: Fix errors when Spanner transaction-stats table-columns are NULL (#14189)

GoogleCloudSpannerReceiver is not working when transaction-stats columns "avg_participants" or "avg_total_latency_seconds" are NULL. This issue arose because of a change in Cloud Spanner Go library of default float64 not being able to handle NULLs. Hence, this fix changes float64 type to spanner.NullFloat64 type in metadata.yaml, for these columns -- so that the receiver can work correctly and without-errors even when the above columns are NULL

Note that avg_participants and avg_total_latency_seconds are NULL when transaction aborts during the read phase or before the commit phase.

[internal/coreinternal] Enable errcheck (#14183)

add errcheck for hasher.go

[pkg/telemetryquerylanguage] Unexport unnessessary functions and types (#13737)

This PR unexports several functions and types that do not need to be exposed

[chore] dependabot updates Mon Sep 19 18:47:42 UTC 2022 (#14308)

dependabot updates Mon Sep 19 18:47:39 UTC 2022 Bump github.com/SAP/go-hdb from 0.108.1 to 0.108.2 in /receiver/saphanareceiver Bump github.com/SAP/go-hdb from 0.108.1 to 0.108.2 in /receiver/sqlqueryreceiver Bump github.com/aerospike/aerospike-client-go/v6 from 6.3.0 to 6.4.0 in /receiver/aerospikereceiver Bump github.com/apache/thrift from 0.16.0 to 0.17.0 in /exporter/jaegerthrifthttpexporter Bump github.com/apache/thrift from 0.16.0 to 0.17.0 in /receiver/kafkareceiver Bump github.com/aws/aws-sdk-go from 1.44.96 to 1.44.101 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.96 to 1.44.101 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go-v2 from 1.16.14 to 1.16.15 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/credentials from 1.12.18 to 1.12.19 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.17 to 1.16.18 in /extension/sigv4authextension Bump github.com/jaegertracing/jaeger from 1.37.0 to 1.38.0 in /exporter/jaegerthrifthttpexporter Bump github.com/jaegertracing/jaeger from 1.37.0 to 1.38.0 in /exporter/pulsarexporter Bump github.com/jaegertracing/jaeger from 1.37.0 to 1.38.0 in /extension/jaegerremotesampling Bump github.com/jaegertracing/jaeger from 1.37.0 to 1.38.0 in /receiver/jaegerreceiver Bump github.com/jaegertracing/jaeger from 1.37.0 to 1.38.0 in /receiver/kafkareceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.494 to 1.0.499 in /exporter/tencentcloudlogserviceexporter Bump go.opentelemetry.io/otel from 1.9.0 to 1.10.0 in /cmd/tracegen Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.9.0 to 1.10.0 in /cmd/tracegen Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.9.0 to 1.10.0 in /cmd/tracegen Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.9.0 to 1.10.0 in /cmd/tracegen Bump go.opentelemetry.io/otel/sdk from 1.9.0 to 1.10.0 in /cmd/tracegen Bump go.opentelemetry.io/otel/trace from 1.9.0 to 1.10.0 in /cmd/tracegen Bump go.opentelemetry.io/otel/trace from 1.9.0 to 1.10.0 in /pkg/telemetryquerylanguage Bump go.opentelemetry.io/otel/trace from 1.9.0 to 1.10.0 in /receiver/sqlqueryreceiver Bump k8s.io/api from 0.25.0 to 0.25.1 in /processor/k8sattributesprocessor Bump k8s.io/api from 0.25.0 to 0.25.1 in /receiver/k8seventsreceiver Bump k8s.io/apimachinery from 0.25.0 to 0.25.1 in /processor/k8sattributesprocessor Bump k8s.io/apimachinery from 0.25.0 to 0.25.1 in /receiver/k8seventsreceiver Bump k8s.io/client-go from 0.25.0 to 0.25.1 in /processor/k8sattributesprocessor Bump k8s.io/client-go from 0.25.0 to 0.25.1 in /receiver/k8seventsreceiver

Co-authored-by: codeboten codeboten@users.noreply.github.com

[chore] dependabot updates Mon Sep 19 21:19:32 UTC 2022 (#14314)

dependabot updates Mon Sep 19 21:19:29 UTC 2022 Bump cloud.google.com/go/compute from 1.9.0 to 1.10.0 in /processor/resourcedetectionprocessor Bump contrib.go.opencensus.io/exporter/stackdriver from 0.13.13 to 0.13.14 in /exporter/googlecloudexporter Bump github.com/aws/aws-sdk-go-v2/config from 1.17.5 to 1.17.6 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.15.17 to 1.15.18 in /exporter/awskinesisexporter Bump github.com/aws/aws-xray-sdk-go from 1.7.0 to 1.7.1 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-xray-sdk-go from 1.7.0 to 1.7.1 in /internal/aws/xray/testdata/sampleserver Bump github.com/go-playground/validator/v10 from 10.11.0 to 10.11.1 in /cmd/mdatagen Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.34.0 to 0.35.0 in /receiver/opencensusreceiver Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.34.0 to 0.35.0 in /examples/demo/client Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.34.0 to 0.35.0 in /examples/demo/server Bump go.opentelemetry.io/otel/metric from 0.31.0 to 0.32.0 in /examples/demo/client Bump go.opentelemetry.io/otel/metric from 0.31.0 to 0.32.0 in /examples/demo/server Bump go.opentelemetry.io/otel/metric from 0.31.0 to 0.32.0 in /receiver/simpleprometheusreceiver/examples/federation/prom-counter Bump google.golang.org/api from 0.95.0 to 0.96.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.95.0 to 0.96.0 in /exporter/googlecloudexporter Bump google.golang.org/api from 0.95.0 to 0.96.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.95.0 to 0.96.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.95.0 to 0.96.0 in /receiver/googlecloudspannerreceiver Bump k8s.io/kubelet from 0.25.0 to 0.25.1 in /receiver/kubeletstatsreceiver

Co-authored-by: codeboten codeboten@users.noreply.github.com

docs(receiver/hostmetrics): link to scraper docs (#14322)

Add links to them in the main README file of the receiver.

[pkg/stanza] Move mapstructure.go into operatortest package (#14141)

This file contains test-only code, so it is more appropriately located in the operatortest package.

[docs] update README for routing (#12949)

Co-authored-by: Juraci Paixão Kröhling juraci@kroehling.de Co-authored-by: Alex Boten aboten@lightstep.com

[pkg/stanza] Add config unmarshal tests for tcp/udp/syslog inputs (#14154)

Created at 1 month ago

[exporter/humio] [docs] Update links to documentation (#12619)

[processor/filterprocessor] fix error in documentation (regex / regexp) (#12605)

[exporter/datadog] Add host tags to metrics on serverless env (#12335)

  • Add host tags manually to metrics on serverless environments like AWS ECS Fargate

Remove unnecessary entries in ALLOWLIST (#12630)

Add CODEOWNERS for pkg/winperfcounters (#12624)

Enable gocritic in internal/aws/containerinsight (#12635)

Signed-off-by: xin.li xin.li@daocloud.io

[exporter/datadog] Remove deprecated configuration options from YAML example (#12594)

[exporter/datadog] Remove deprecated configuration options from YAML

Add CODEOWNERS for testbed/mockdatarreceivers/mockawsxrayreceiver (#12627)

Add CODEOWNERs entry for testbed/mockdatarreceivers/mockawsxrayreceiver based on the CODEOWNERS for AWS XRay components

Link to tracking Issue: Updates #3870

[exporter/coralogixexporter] Add support for logs (#12600)

Add support for logs

Link to tracking Issue: #12601

Co-authored-by: Alex Boten aboten@lightstep.com

[exporter/coralogixexporter] Add support for logs (#12600)

Add support for logs

Link to tracking Issue: #12601

Co-authored-by: Alex Boten aboten@lightstep.com

[chore] Add Code Ownership section. (#12598)

Add a new Code Ownership section to the contributing guide that lays out code owner expectations and requirements to becoming a code owner.

Co-authored-by: Dominik Rosiek 58699848+sumo-drosiek@users.noreply.github.com

Add CODEOWNERS for extension/storage (#12628)

Co-authored-by: Dmitrii Anoshin anoshindx@gmail.com

[processor/transform] Clarify setting nil as a value (#12632)

Fixes #12193

Add tests for ensuring that setting attributes to nil is a no-op, and document motivation for why calling set with a nil value is a no-op.

Co-authored-by: Evan Bradley evan-bradley@users.noreply.github.com

[internal/coreinternal/processor/filtermatcher]Enable gocritic (#12636)

Enable gocritic in internal/coreinternal/processor/filtermatcher

Signed-off-by: xin.li xin.li@daocloud.io

[Chrony Receiver] Part 2 - Internal chrony client (#12102)

  • [ Chrony Receiver ] Adding internal components

Adding in the client with rewrites to allow usage with open telemetry collector

  • Allowing sequence to be based of time

[processor/resourcedetection] Add back host.name on GKE (#12355)

  • [processor/resourcedetection] Add back host.name on GKE

Before the detectors were unified, the host.name attribute could be fetched on GKE if using the gce detector, so this just restores back the ability to have this attribute.

  • Make GCEHostname call fallible

[exporter/datadog] Add gateway deployment instructions (#12593)

[chore] Add makefile target for generating component labels (#12494)

  • Add makefile target for generating component labels

  • Add newline

[internal/aws/k8s/k8sclient]Enable gocritic (#12666)

Enable gocritic in internal/aws/k8s/k8sclient

Signed-off-by: xin.li xin.li@daocloud.io

[receiver/dockerstatsreceiver] Initial PR to onboard dockerstats onto mdatagen (#12322)

I wanted the initial PR to be backwards compatible with the existing implementation. So, I've re-implemented the scrape function as scrapeV2 (leaving the original) and testing them both alongside each other to ensure they produce the same metrics, and to give the reviewer confidence that feature parity is maintained. The bulk of the new implementation is all in receiver_v2.go.

Created at 1 month ago

otel col contrib v0.61.0 (#2521)

  • probabilisticsampler: add filterspan config

  • added filter to spanmetrics processor (#6)

  • prometheusexporter: use attributevalue

  • misc: reduce dependabot noise

Because of the weird^H^H^H^H^Hinteresting structure of the contrib repo, we have an overwhelming amount of dependabot noise for this. Especially since we're behind upstream.

We could turn this off entirely, I suppose. Or - we can modify the Makefile and just make this noise monthly rather than weekly.

This commit is the result of modifying the Makefile to do monthly updates instead of weekly, as well as the result of running make gendependabot.

  • Monitoring spanmetrics (#797)

  • wip cache metric from spanmetrics

  • testing

  • testing

  • WIP: collecting metrics

  • metric name updated

  • Update exporter/prometheusexporter/prometheus.go

Co-authored-by: tanner-bruce b.r.uce.tanner@gmail.com

  • Update processor/spanmetricsprocessor/processor.go

Co-authored-by: tanner-bruce b.r.uce.tanner@gmail.com

  • wip error metrics

  • span metrics monitoring : refactored internal metrics counters

  • span metrics monitoring : added metricKey error

  • Update processor/spanmetricsprocessor/processor.go

Co-authored-by: tanner-bruce b.r.uce.tanner@gmail.com

  • Update processor/spanmetricsprocessor/processor.go

Co-authored-by: tanner-bruce b.r.uce.tanner@gmail.com

  • moved metric one loop up

  • unique metrics count

  • removed actice timeseries counter

  • Update processor/spanmetricsprocessor/processor.go

Co-authored-by: tanner-bruce b.r.uce.tanner@gmail.com

Co-authored-by: tanner-bruce b.r.uce.tanner@gmail.com

  • fix some merging issues

Co-authored-by: Tanner Bruce tanner.bruce@shopify.com Co-authored-by: Andrew Hayworth andrew.hayworth@shopify.com Co-authored-by: tanner-bruce b.r.uce.tanner@gmail.com

Created at 1 month ago
otel col contrib v0.61.0

In this branch all our changes have been cherry-picked and merged into the v0.61.0.

As with the previous port, to merge this we need to first force-push main to v0.56.0, and then reset the base branch of this PR to main via the handy little widget in the GitHub UI (it's currently pointing to a temporary branch pointing to the v0.53.0 tag). https://github.com/Shopify/opentelemetry-collector-contrib/pull/1709 https://github.com/Shopify/opentelemetry-collector-contrib/pull/2506

Created at 1 month ago
Arun shopify/otel col contrib v0.61.0

In this branch all our changes have been cherry-picked and merged into the v0.61.0.

As with the previous port, to merge this we need to first force-push main to v0.56.0, and then reset the base branch of this PR to main via the handy little widget in the GitHub UI (it's currently pointing to a temporary branch pointing to the v0.53.0 tag). https://github.com/Shopify/opentelemetry-collector-contrib/pull/1709 https://github.com/Shopify/opentelemetry-collector-contrib/pull/2506

Created at 1 month ago
otel col contrib v0.61.0

In this branch all our changes have been cherry-picked and merged into the v0.61.0.

As with the previous port, to merge this we need to first force-push main to v0.56.0, and then reset the base branch of this PR to main via the handy little widget in the GitHub UI (it's currently pointing to a temporary branch pointing to the v0.53.0 tag). https://github.com/Shopify/opentelemetry-collector-contrib/pull/1709 https://github.com/Shopify/opentelemetry-collector-contrib/pull/2506

Created at 1 month ago
otel col contrib v0.61.0

In this branch all our changes have been cherry-picked and merged into the v0.61.0.

As with the previous port, to merge this we need to first force-push main to v0.56.0, and then reset the base branch of this PR to main via the handy little widget in the GitHub UI (it's currently pointing to a temporary branch pointing to the v0.53.0 tag). https://github.com/Shopify/opentelemetry-collector-contrib/pull/1709 https://github.com/Shopify/opentelemetry-collector-contrib/pull/2506

Created at 1 month ago
arun-shopify create branch arun-shopify/otel-col-contrib-v0.61.0
Created at 1 month ago
Created at 2 months ago
Created at 2 months ago

Update core dependency and adopt to API changes (#14016)

Update core dependency and adopt to the updated API

[pkg/stanza] Fix documentation of default 'parse_to' values (#14018)

[receiver:elasticsearchreceiver]: Add two additional cluster level metric (#13749)

es receiver: add cluster level pending tasks and inflight fetch metrics

[receiver:elasticsearchreceiver]: Add additional node level metric for cache count (#14028)

Add additional Elasticsearchreceiver node level metric:

  • This new metric tracks the query cache counts for hit & miss

[chore] Remove redundant usages of NewMapFromRaw in tests (#14024)

In preparation for open-telemetry/opentelemetry-collector#6045

[internal/metadataproviders/azure]enable errceck (#13414)

enable erreck in internal/metadataproviders/azure

Signed-off-by: xin.li xin.li@daocloud.io Co-authored-by: Bogdan Drutu lazy@splunk.com

Extract metrics adjusting logic as separate interface, simplifies transaction (#14017)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[chore] prometheusreceiver: remove unnecessary interfaces (#14036)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[cmd/chloggen] remove tool from this repo (#14022)

  • [cmd/chloggen] remove tool from this repo

This change removes chloggen from the current repo and makes use of https://github.com/open-telemetry/opentelemetry-go-build-tools/chloggen instead.

[CI] Apply stopgap for actions/cache bug across entire workflow (#14034)

This is a followup to #13453, which applied the timeout only to the one cache step per workflow. Rather than apply this to each actions/cache step, this PR just applies the env var across the entire workflow.

[chore] prometheusreceiver: simplify Append logic (#14037)

  • Remove duplicate logic to determine duplicates in labels, downside is that only the first one is determined.
  • Combine AddDataPoint with Append, remove duplicate calls to Get metric name.

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[chore] pkg/batchpersignal should keep schema url (#13979)

[pkg/batchpersignal] respect schema url

Reduce number of allocation while recording metrics with opencensus (#13644)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[processor/tailsampling] add missing sub policies to AND policy (#11505)

Avoid using unnecessary pointers to pdata. Types are reference types already (#14035)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[Changelog] Fix formatting issue (#14079)

[chore] dependabot updates Mon Sep 12 20:37:51 UTC 2022 (#14087)

  • dependabot updates Mon Sep 12 20:37:48 UTC 2022 Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.95 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.93 to 1.44.96 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go-v2/config from 1.15.14 to 1.17.5 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go-v2/credentials from 1.12.9 to 1.12.18 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.9 to 1.16.17 in /exporter/awskinesisexporter Bump github.com/docker/docker from 20.10.17+incompatible to 20.10.18+incompatible in /extension/observer/dockerobserver Bump github.com/docker/docker from 20.10.17+incompatible to 20.10.18+incompatible in /internal/containertest Bump github.com/docker/docker from 20.10.17+incompatible to 20.10.18+incompatible in /internal/docker Bump github.com/docker/docker from 20.10.17+incompatible to 20.10.18+incompatible in /internal/metadataproviders Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /pkg/translator/opencensus Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /pkg/translator/zipkin Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.492 to 1.0.494 in /exporter/tencentcloudlogserviceexporter Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/apachereceiver Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/elasticsearchreceiver Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/flinkmetricsreceiver Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/mongodbreceiver Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/mysqlreceiver Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/postgresqlreceiver Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/rabbitmqreceiver Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/riakreceiver Bump github.com/testcontainers/testcontainers-go from 0.13.0 to 0.14.0 in /receiver/sqlqueryreceiver

  • make gotidy (#14090)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

  • Dependabot prs/2022 09 12 t202336 (#14091)

  • make gotidy

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

  • Container.Exec returns 3 values

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com Co-authored-by: codeboten codeboten@users.noreply.github.com Co-authored-by: Bogdan Drutu bogdandrutu@gmail.com

[chore] Replace remaining usages of Map.Insert* (#14092)

Update core dependency and adopt to API changes (#14086)

[pkg/telemetryquerylanguage] Add the ability to use a logger in functions (#13544)

Change the TQL parsing functions to be methods on a struct that holds all common information necessary for parsing. Processors now instantiate the struct with a logger, which can then be injected into functions.

Created at 2 months ago

[chore] prometheusreceiver: remove unused interval start time and users of that (#13770)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[chore] prometheusreceiver: remove impossible condition, internal and no data (#13769)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[chore] prometheusreceiver: remove unused member of metric family (#13768)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[chore] prometheusreceiver: remove isCumulative from metric family (#13767)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Avoid allocating zero size slices (#13764)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Fix the dependabot PR script when title too long (#13810)

Inspired by https://github.com/open-telemetry/opentelemetry-go-contrib/pull/2699

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[chore] prometheusreceiver: remove otlp_ prefix from file names (#13814)

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

[chore] dependabot updates Thu Sep 1 16:45:17 UTC 2022 (#13813)

dependabot updates Thu Sep 1 16:45:14 UTC 2022 Bump github.com/DataDog/agent-payload/v5 from 5.0.27 to 5.0.28 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.87 to 1.44.89 in /receiver/awsxrayreceiver Bump github.com/aws/aws-sdk-go-v2 from 1.16.11 to 1.16.13 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/config from 1.17.1 to 1.17.4 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/credentials from 1.12.14 to 1.12.17 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.13 to 1.16.16 in /extension/sigv4authextension Bump github.com/hashicorp/go-hclog from 1.2.2 to 1.3.0 in /exporter/logzioexporter Bump github.com/influxdata/influxdb-observability/common from 0.2.26 to 0.2.27 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.2.26 to 0.2.27 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.2.26 to 0.2.27 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.2.26 to 0.2.27 in /exporter/influxdbexporter Bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 in /extension/observer/hostobserver Bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 in /receiver/awscontainerinsightreceiver Bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 in /receiver/hostmetricsreceiver Bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 in /receiver/jmxreceiver Bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 in /testbed Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.479 to 1.0.489 in /exporter/tencentcloudlogserviceexporter

Co-authored-by: bogdandrutu bogdandrutu@users.noreply.github.com

[chore] dependabot updates Thu Sep 1 20:03:12 UTC 2022 (#13836)

dependabot updates Thu Sep 1 20:03:08 UTC 2022 Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.90 in /receiver/awsxrayreceiver Bump kentaro-m/auto-assign-action from 1.2.1 to 1.2.3

Co-authored-by: bogdandrutu bogdandrutu@users.noreply.github.com

[chore] Upgrade GoogleCloudPlatform/opentelemetry-operations-go deps (#13837)

[receiver/prometheusreceiver] Add exemplars to prometheus receiver (#12987)

[receiver/prometheusreceiver] Add exemplar support

[receiver/k8scluster] Move k8s clients creation to the starting phase (#13772)

This is mostly a refactoring PRs with no actual changes except for moving initialization of k8s client from receiver init to receiver start phase. This allows to move all the client creation logic and its mocks to the struct that is actually utilize them instead of keeping them in Config struct.

[exporter/loadbalancing] Fix inconsistent handling of endpoints without port (#13745)

  • try to bring some sanity to access to lb.exporters which should only ever contain host-strings with port

  • add unreleased-note

  • revert test to the previous check (logically checking that 2 got removed)

[chore] Replace usages of Map.Insert* with Map.Upsert* (#13840)

[receiver/skywalking] Remove receiver warning msg (#13549)

Signed-off-by: jian.tan jian.tan@daocloud.io

Replace all Map.Insert* usages in tests (#13847)

[pkg/telemetryquerylanguage] Optimize map updates

No-op performance improvements

[pkg/telemetryquerylanguage] Optimize map updates (#13846)

No-op performance improvements

exporter/clickhouseexporter: fix cast FlagsStruct into uint32 (#13845)

  • exporter/clickhouseexporter: fix cast FlagsStruct into uint32

  • added unreleased changelog

[exporter/dynatrace] document resource_to_telemetry_conversion option (#13371)

  • [exporter/dynatrace] document resource_to_telemetry_conversion option

  • Don't enable conversion in the example

  • Use transform to remove unwanted keys

  • Apply suggestions from code review

Co-authored-by: Armin Ruech armin.ruech@dynatrace.com

  • Update exporter/dynatraceexporter/README.md

Co-authored-by: Armin Ruech armin.ruech@dynatrace.com

  • Document precedence

  • Remove precedence statement

Co-authored-by: Armin Ruech armin.ruech@dynatrace.com

[pkg/telemetryquerylanguage] Support Inequalities in TQL (#13320)

  • Add inequalities and a lot of tests

  • More comments, more tests

  • More test work

  • More evaluator tests

  • Add docs to readme

  • Add changelog file

  • Change nil comparison logic to spec

  • Clean up tests

  • Fix comment

  • add license

  • Make code less clear to pacify a linter

  • Fine.

  • goporto

  • Grr.

  • Fall back to go standard for non-primitive types

  • Add some tests for non-primitive types

  • Add inequalities and a lot of tests

  • More comments, more tests

  • More test work

  • More evaluator tests

  • Add docs to readme

  • Add changelog file

  • Change nil comparison logic to spec

  • Clean up tests

  • Fix comment

  • add license

  • Make code less clear to pacify a linter

  • Fine.

  • goporto

  • Grr.

  • Fall back to go standard for non-primitive types

  • Add some tests for non-primitive types

  • Generify comparisons a bit

  • make gotidy

  • respond to PR feedback

  • Remove now-invalid test

  • Parser tags now use structtag-compatible syntax

  • Make parser generate CompareOp

  • Clean up CompareOp a bit more

  • Support only the *64 types; drop pointers too.

  • Consistency

  • Small change to force checks to run

  • Correct errors in README

Created at 2 months ago

Update internal/coreinternal/processor/filterconfig/config.go

Co-authored-by: Pablo Baeyens pbaeyens31+github@gmail.com

Created at 2 months ago