Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Upgrade to v0.16.0 of upstream #4

Merged
merged 560 commits into from
Dec 16, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
560 commits
Select commit Hold shift + click to select a range
dc445c4
Bump google.golang.org/grpc in /exporter/stackdriverexporter (#1474)
dependabot[bot] Nov 3, 2020
9321514
Run Auto Assign workflow once draft PRs are ready for review (#1481)
bogdandrutu Nov 3, 2020
06833c8
Bump github.com/hashicorp/go-hclog in /exporter/logzioexporter (#1467)
dependabot[bot] Nov 3, 2020
507fac5
Bump go.opencensus.io in /receiver/splunkhecreceiver (#1455)
dependabot[bot] Nov 3, 2020
2318c3f
[datadog exporter] Remove option to change the namespace prefix (#1483)
albertvaka Nov 3, 2020
e3e304a
Add metric filter option to metrics transform processor (#1447)
james-bebbington Nov 3, 2020
c2f0ce4
Remove unnecessary dependencies from tracegen (#1480)
bogdandrutu Nov 3, 2020
4be0f7c
Increase memory limits for TestLog10kDPS/OTLP to avoid failures on Ci…
tigrannajaryan Nov 3, 2020
60de58c
Upgrade otel collector core, fix remove of the Set Array/Map values (…
bogdandrutu Nov 3, 2020
db507b3
[datadog exporter] Move ProcessMetrics test to metrics package (#1488)
albertvaka Nov 3, 2020
3b7afff
Update aws xray receiver readme (#1485)
JohnWu20 Nov 4, 2020
59a1114
Add @kbrockhoff as an Approver (#1492)
tigrannajaryan Nov 4, 2020
95011c7
Add @andrewhsu as triager to the collector (#1496)
bogdandrutu Nov 5, 2020
507ad41
Skip processing empty metric slice in Stackdriver exporter (#1494)
nilebox Nov 5, 2020
86af421
Improved ECS attribute and origin translation in awsxrayexporter (#1428)
willarmiros Nov 5, 2020
0e912e6
Upgrade otel collector core, use the new Span Status code (#1489)
tigrannajaryan Nov 5, 2020
9c0807f
Fix the race condition issue for xray receiver (#1490)
JohnWu20 Nov 5, 2020
eeec132
[resourcedetectionprocessor] Initial system detector (#1405)
mx-psi Nov 5, 2020
aa83481
Release v0.14.0 (#1502)
jchengsfx Nov 6, 2020
7610828
Make + CircleCI for Code Generation (#1433) (#1501)
benkeith-splunk Nov 6, 2020
6fa9a63
Bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.2 (#1484)
dependabot[bot] Nov 6, 2020
4da366a
[awsemfexporter] Add check for unhandled metric data types (#1493)
kohrapha Nov 6, 2020
bb68c7a
Upgrade otel collector core, partially AWS tests for the new summary …
bogdandrutu Nov 6, 2020
422a647
Stop using internaldata (#1429)
atoulme Nov 6, 2020
6d1c149
Bump google.golang.org/grpc in /exporter/azuremonitorexporter (#1522)
dependabot[bot] Nov 9, 2020
1958787
Bump github.com/hashicorp/go-hclog in /exporter/logzioexporter (#1531)
dependabot[bot] Nov 9, 2020
493d5a8
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1529)
dependabot[bot] Nov 9, 2020
6d09dd8
Bump google.golang.org/grpc in /processor/routingprocessor (#1527)
dependabot[bot] Nov 9, 2020
4af241a
Bump google.golang.org/api in /exporter/stackdriverexporter (#1526)
dependabot[bot] Nov 9, 2020
7b0f479
Bump google.golang.org/grpc in /exporter/stackdriverexporter (#1525)
dependabot[bot] Nov 9, 2020
f32582c
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1524)
dependabot[bot] Nov 9, 2020
45b6aaf
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Nov 9, 2020
0ec25b3
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Nov 9, 2020
1bb0132
Bump google.golang.org/grpc in /exporter/honeycombexporter (#1521)
dependabot[bot] Nov 9, 2020
de1b271
Bump github.com/aliyun/aliyun-log-go-sdk (#1523)
dependabot[bot] Nov 9, 2020
648e110
Make buffered channel to avoid goroutines leak in groupbytraceprocess…
pkositsyn Nov 9, 2020
da4f325
zookeeperreceiver: Add initial implementation (#1362)
asuresh4 Nov 9, 2020
76d1c75
Add ability to configure and scrape counters with instances (#1229)
james-bebbington Nov 9, 2020
9986d20
Upgrade otel collector core, fix changes after non null Resource (#1513)
bogdandrutu Nov 9, 2020
2493e28
Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1530)
dependabot[bot] Nov 9, 2020
9964531
Bump google.golang.org/grpc from 1.33.1 to 1.33.2 in /tracegen (#1528)
dependabot[bot] Nov 9, 2020
01ecf87
Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1516)
dependabot[bot] Nov 9, 2020
fdace08
Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1520)
dependabot[bot] Nov 9, 2020
e1a9ff1
JMX Receiver: add implicit OTLP Receiver and remove Prometheus (#1396)
rmfitzpatrick Nov 9, 2020
e0204ba
Trace ID aware load-balancing exporter - 3/4 (#1412)
jpkrohling Nov 10, 2020
f161bc1
Remove OnDroppedSpans callback for tailsampling (#1540)
jpkrohling Nov 10, 2020
108258a
Use OTLP Metrics type instead of OpenCensus type [aws-ecs-container-m…
hossain-rayhan Nov 10, 2020
6e84f52
Allow passthrough of index events from individual events (#1514)
atoulme Nov 10, 2020
8662fd6
Memcached Receiver Skeleton (#1414)
benkeith-splunk Nov 10, 2020
fdd1a4e
Fix lint errors, fix CI. Race condition between PRs (#1545)
bogdandrutu Nov 10, 2020
755c646
Expose tail sampling processor metrics (#1533)
pmm-sumo Nov 10, 2020
7b959c2
Replace traceKey with traceID (#1544)
jpkrohling Nov 10, 2020
1ac9899
Enable unconvert linter, fix errors (#1546)
bogdandrutu Nov 10, 2020
3118bb6
JMX Receiver: update receiver as unstable component and correct prope…
rmfitzpatrick Nov 10, 2020
3c44dec
Change default behaviour of Windows perf counters receiver 1 (#1537)
james-bebbington Nov 11, 2020
5fe4448
Change default behaviour of Windows perf counters receiver 2 (#1538)
james-bebbington Nov 11, 2020
2dd2ea5
Update to stanza v0.13.0 (#1535)
camdencheek Nov 11, 2020
3a59863
zookeeperreceiver: Add more metrics and integration tests (#1404)
asuresh4 Nov 11, 2020
33bba14
Upgrade otel collector core, fix remove of the legacy metrics (#1549)
bogdandrutu Nov 11, 2020
994cabe
Enable resource attributes to metric label conversion option (#1552)
hossain-rayhan Nov 11, 2020
ea5856a
SignalFx Receiver: Switch to pdata.Metrics (#1388)
benkeith-splunk Nov 11, 2020
e033081
Fix histogram mapping to Splunk metrics store (#1512)
atoulme Nov 11, 2020
c4d4d92
splunkhecexporter: Fix lint (#1555)
asuresh4 Nov 12, 2020
4a547be
jmx: Add endpoint config field (#1550)
rmfitzpatrick Nov 12, 2020
9a0a244
add attributes and Unit test to AWS ECS and EKS (#1557)
JohnWu20 Nov 12, 2020
6b974a8
fix getting started links (#1556)
andrewhsu Nov 12, 2020
69d4d7f
zookeeper: Rename label to be less ambiguous (#1553)
asuresh4 Nov 12, 2020
d583e5a
SignalFx receiver: pdata Tweaks (#1554)
benkeith-splunk Nov 12, 2020
8109852
SignalFx Exporter: Convert to OTLP (#1375)
benkeith-splunk Nov 12, 2020
90e51a8
Enable zookeeper receiver (#1558)
asuresh4 Nov 12, 2020
61f1363
Upgrade otel collector core, remove old gnostic hack (#1559)
bogdandrutu Nov 12, 2020
6b97426
[awsemfexporter] Implement metric filtering and dimension setting (#1…
kohrapha Nov 13, 2020
d5f2c09
Trace ID aware load-balancing exporter - 4/4 (#1542)
jpkrohling Nov 13, 2020
6bfacde
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Nov 13, 2020
fc44505
Bump github.com/prometheus/common in /receiver/simpleprometheusreceiv…
dependabot[bot] Nov 13, 2020
0bca42f
Bump github.com/aliyun/aliyun-log-go-sdk (#1568)
dependabot[bot] Nov 13, 2020
e987b36
Bump github.com/honeycombio/libhoney-go in /exporter/honeycombexporte…
dependabot[bot] Nov 13, 2020
a2e919d
Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1572)
dependabot[bot] Nov 13, 2020
ccd5229
Bump github.com/google/go-cmp in /exporter/jaegerthrifthttpexporter (…
dependabot[bot] Nov 13, 2020
9b52eac
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Nov 13, 2020
0a21c46
Bump github.com/google/go-cmp in /exporter/sentryexporter (#1581)
dependabot[bot] Nov 13, 2020
fde0fdb
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1578)
dependabot[bot] Nov 13, 2020
c51cea1
Bump github.com/google/go-cmp in /processor/metricstransformprocessor…
dependabot[bot] Nov 13, 2020
5a3c2e5
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1575)
dependabot[bot] Nov 13, 2020
ac25a6a
Bump github.com/prometheus/common in /receiver/prometheusexecreceiver…
dependabot[bot] Nov 13, 2020
720ffa1
Bump github.com/observiq/stanza in /receiver/stanzareceiver (#1573)
dependabot[bot] Nov 13, 2020
4ce5e3e
Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1577)
dependabot[bot] Nov 13, 2020
a66923e
Bump github.com/google/go-cmp in /exporter/honeycombexporter (#1570)
dependabot[bot] Nov 13, 2020
8e17468
Fix version for carbonexporter, avoid dependabot upgrades like #1517 …
bogdandrutu Nov 13, 2020
095d6cd
Enable windows perf counters receiver (#1539)
james-bebbington Nov 13, 2020
5059328
[exporters/signalfx_correlation] Add ability to translate host dimens…
jrcamp Nov 13, 2020
ed3d497
Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1598)
dependabot[bot] Nov 16, 2020
42ef904
Bump k8s.io/client-go in /extension/observer/k8sobserver (#1596)
dependabot[bot] Nov 16, 2020
7405423
Bump github.com/klauspost/compress in /exporter/honeycombexporter (#1…
dependabot[bot] Nov 16, 2020
a128294
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1607)
dependabot[bot] Nov 16, 2020
001cb8f
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1605)
dependabot[bot] Nov 16, 2020
4b2e5bb
Bump k8s.io/api from 0.19.3 to 0.19.4 in /processor/k8sprocessor (#1600)
dependabot[bot] Nov 16, 2020
11f67dc
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Nov 16, 2020
494ae6d
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Nov 16, 2020
50d54dc
AWSEMFExporter - Adding SummaryDataType, Remove MinMax from Histogram…
shaochengwang Nov 16, 2020
1c1bc33
Bump k8s.io/client-go from 0.19.3 to 0.19.4 in /processor/k8sprocesso…
dependabot[bot] Nov 16, 2020
5c86607
Bump k8s.io/client-go in /receiver/simpleprometheusreceiver (#1592)
dependabot[bot] Nov 16, 2020
2230bd7
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1617)
dependabot[bot] Nov 16, 2020
0ec7d2a
Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1616)
dependabot[bot] Nov 16, 2020
d8b6330
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1615)
dependabot[bot] Nov 16, 2020
8a2eb5d
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Nov 16, 2020
5bfe9cd
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Nov 17, 2020
3761763
Add aws prometheus remote write exporter (#1497)
amanbrar1999 Nov 17, 2020
098ed60
Set options.UserAgent so that the OpenCensus exporter does not overri…
james-bebbington Nov 17, 2020
1014470
Update newrelicexporter to use pdata for traces (#1587)
MrAlias Nov 17, 2020
4a81c80
Add combine action (#1506)
james-bebbington Nov 17, 2020
60fe80f
Update core dependencies (#1622)
jchengsfx Nov 17, 2020
c01d3b0
jmxreceiver: address flake issues (#1618)
rmfitzpatrick Nov 17, 2020
14896bc
Filter only for the main tag the integration tests (#1508)
bogdandrutu Nov 18, 2020
2398a00
[ecs-metrics-receiver] extract cluster name from ARN and rename some …
hossain-rayhan Nov 18, 2020
53ae593
Dynatrace metrics exporter (#1589)
dyladan Nov 18, 2020
8b9f4fc
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1636)
dependabot[bot] Nov 18, 2020
fb76cd0
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Nov 18, 2020
bf2bd8e
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1634)
dependabot[bot] Nov 18, 2020
a146ddd
Bump github.com/observiq/stanza in /receiver/stanzareceiver (#1635)
dependabot[bot] Nov 18, 2020
30d11b4
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Nov 18, 2020
efa799f
Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1638)
dependabot[bot] Nov 18, 2020
b245d07
Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1639)
dependabot[bot] Nov 18, 2020
b381ec4
Bump k8s.io/* from 0.19.3 to 0.19.4 (#1625)
bogdandrutu Nov 18, 2020
2a9dfb6
Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1632)
dependabot[bot] Nov 18, 2020
911f6fa
Extract function for parsing Java stacktraces in preparation of suppo…
Nov 18, 2020
b44e9e4
Add option to specify case of label values added based on regexp subm…
james-bebbington Nov 19, 2020
5d8afc9
elasticexporter: improve handling of span status (#1591)
axw Nov 19, 2020
46f67b2
Upgrade otel collector core to v0.15.0, fix remove of the AttributesH…
bogdandrutu Nov 19, 2020
c402e3e
Release v0.15.0 (#1642)
jchengsfx Nov 19, 2020
7fc786b
Remove samplerate property from honeycomb exporter (#1583)
MikeGoldsmith Nov 19, 2020
5843cc6
Add span events to New Relic exporter (#1643)
justinfoote Nov 19, 2020
313ffc4
[awsemf-exporter] add placeholder support in logGroup and logStream c…
hossain-rayhan Nov 20, 2020
51555af
Added Elastic Beanstalk Resource detector (#1585)
willarmiros Nov 20, 2020
905df69
Nginx Stub Status Receiver (#1582)
benkeith-splunk Nov 20, 2020
fabb584
Upgrade otel collector core, fix remove zookeeper to use helper for s…
bogdandrutu Nov 20, 2020
5943ec3
Upgrade otel collector core, fix contrib after scraper helpers moved …
bogdandrutu Nov 20, 2020
39592d1
[sumologicexporter] Initialise Sumo Logic exporter (#1565)
sumo-drosiek Nov 20, 2020
ad5ed8f
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Nov 20, 2020
1e4ddd0
Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1656)
dependabot[bot] Nov 20, 2020
8036c84
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Nov 20, 2020
c15aa7d
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1658)
dependabot[bot] Nov 20, 2020
44225f9
Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1659)
dependabot[bot] Nov 20, 2020
4a9026f
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1660)
dependabot[bot] Nov 20, 2020
0c3b742
awsemf-exporter: replace pattern "{{ }}" with "{ }" (#1661)
hossain-rayhan Nov 21, 2020
bd5ba5a
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1669)
dependabot[bot] Nov 21, 2020
993ea0a
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Nov 21, 2020
c8d1540
Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1667)
dependabot[bot] Nov 21, 2020
170cac0
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1666)
dependabot[bot] Nov 21, 2020
9b773d4
Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1673)
dependabot[bot] Nov 23, 2020
eda685b
Bump github.com/golangci/golangci-lint from 1.32.2 to 1.33.0 (#1675)
dependabot[bot] Nov 23, 2020
56fe6ce
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Nov 23, 2020
fe4e075
Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1664)
dependabot[bot] Nov 23, 2020
424c7d6
Rename batchpertrace go files, main is usually reserved for cmd packa…
bogdandrutu Nov 23, 2020
fb8c43c
Update loadbalancingexporter to use batchpertrace library from head (…
bogdandrutu Nov 23, 2020
d179aa7
Remove always zero return value from signalfx conversion. (#1671)
bogdandrutu Nov 23, 2020
aaa2941
Remove calls to deprecated exportertest package (#1663)
bogdandrutu Nov 23, 2020
aa2cdfa
[awsemfexporter] Add label matching filtering rule (#1619)
kohrapha Nov 23, 2020
0bf5215
Upgrade otel collector core, fix scraperhelper braking changes (#1686)
bogdandrutu Nov 23, 2020
eb1946b
[sumologicexporter] Add filter structure to the Sumo Logic exporter (…
sumo-drosiek Nov 24, 2020
efe52b1
loadbalancingexporter: add Start for exporters (#1687)
pkositsyn Nov 24, 2020
3404d16
Add sort in static resolver (#1692)
pkositsyn Nov 24, 2020
3a50409
Add helper library that splits an incoming data based on an attribute…
bogdandrutu Nov 25, 2020
fbd481c
exporter/datadog: Issue 1684 fix, update status code handling (#1691)
ericmustin Nov 25, 2020
03a7f07
Update honeycomb exporter to use internal data format (#1689)
chris-smith-zocdoc Nov 25, 2020
93d82a1
[loadbalancingexporter]Allow specifying port when using DNS resolver …
vangarp Nov 25, 2020
1e2e4e4
Fix that dns resolver won't do periodic checks (#1678)
ZhengHe-MD Nov 25, 2020
e1788d9
Upgrade otel collector core, fix changes for non-nullable metric type…
bogdandrutu Nov 25, 2020
e5c6664
AlibabaCloud LogService Exporter - Add logs exporter (#1609)
shabicheng Nov 25, 2020
9a696f8
Add instructions for configuring the DT exporter (#1701)
arminru Nov 25, 2020
0705ace
Upgrade otel collector core, fix changes for non-nullable Instrumenta…
bogdandrutu Nov 25, 2020
1baaf1c
Exporter/Datadog: improve trace exporter performance (#1706)
ericmustin Nov 26, 2020
fabde15
[datadogexporter] Further improvements to traces exporter performance…
mx-psi Nov 27, 2020
778b436
Fix empty traces in X-Ray console (#1709)
nachomdo Nov 29, 2020
60e4ef7
Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1718)
dependabot[bot] Nov 30, 2020
4ca182d
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Nov 30, 2020
ce759d2
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1717)
dependabot[bot] Nov 30, 2020
a66e94e
Bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 in /receiver/stanzareceiver…
dependabot[bot] Nov 30, 2020
6ce63dc
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1721)
dependabot[bot] Nov 30, 2020
03fe24e
Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1720)
dependabot[bot] Nov 30, 2020
97ba47d
Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1714)
dependabot[bot] Nov 30, 2020
a4308d9
Add alibabacloudlogserviceexporter code owner (#1722)
shabicheng Nov 30, 2020
39d00c7
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Nov 30, 2020
9b6a370
Upgrade otel collector core, fix changes for non-nullable AttributeVa…
bogdandrutu Nov 30, 2020
225aa38
Add option to only send metadata (#1723)
mx-psi Nov 30, 2020
5e73e41
[splunkhecexporter] Remove unnecessary return value from logDataToSpl…
bogdandrutu Nov 30, 2020
80dddc3
[signalfxexporter] Split incoming data requests by access token befor…
bogdandrutu Nov 30, 2020
1647aad
Upgrade otel collector core, fix changes after AttributeValue.InitEmp…
bogdandrutu Nov 30, 2020
24951cc
[SignalFx]: Disable retry on 400 and 401, retry with backoff on 429 a…
bogdandrutu Nov 30, 2020
e61c1cf
Readability improvements to the EC2 resource detection processor (#1703)
rakyll Dec 1, 2020
14c3533
Stricter requirements for adding http request url (#1729)
NathanielRN Dec 1, 2020
cf55673
AlibabaCloud LogService Exporter - support new trace interface (#1713)
shabicheng Dec 1, 2020
941b403
[sumologicexporter] Add sender (#1693)
sumo-drosiek Dec 1, 2020
10b4146
Apply style fixes and correct timestamps to dynatrace exporter (#1732)
dyladan Dec 1, 2020
8d09aec
Upgrade otel collector core, fix changes after small renames in core …
bogdandrutu Dec 1, 2020
ec6980d
Upgrade otel collector core, fix changes after no nil values in slice…
bogdandrutu Dec 1, 2020
8762826
Add x-ray exporter parsing of Python stack traces. (#1676)
Dec 1, 2020
2b91165
Add collector version to xray exporter user agent (#1730)
Dec 2, 2020
d1485f2
Fix nits in usage of pdata (#1737)
bogdandrutu Dec 2, 2020
f043f14
[aws-ecs-metrics-receiver] refactoring for better test coverage and e…
hossain-rayhan Dec 2, 2020
2897617
Only treat StatusCode == ERROR as error or fault and determine error/…
Dec 2, 2020
ed584a5
Readability improvements to the Elastic BeansTalk resource detection …
rakyll Dec 2, 2020
78c91bd
Upgrade otel collector core to v0.16.0 (#1742)
bogdandrutu Dec 2, 2020
a10b9b9
[sapmexporter] Split traces before enqueuing, every request one token…
bogdandrutu Dec 2, 2020
7d291b4
Move ttlmap package to internal/common (#1741)
mx-psi Dec 2, 2020
fdc35d5
Pass the correct params to the receiver creator (#1746)
bogdandrutu Dec 2, 2020
e8c333e
Handle the unhandled error not to silently fail (#1752)
rakyll Dec 2, 2020
9098e10
Release v0.16.0 (#1748)
jchengsfx Dec 2, 2020
99110e9
Update dependabot to ensure all projects are added (#1743)
bogdandrutu Dec 2, 2020
0bf7bf1
Add logzio metrics exporter (#1712)
yyyogev Dec 2, 2020
124933a
Move MetadataExporter from k8sclusterreceiver to internal/common/metr…
asuresh4 Dec 2, 2020
471b7c6
Pass processor params to the detectors (#1745)
bogdandrutu Dec 3, 2020
d48fa8d
Introduce groupbyattrsprocessor - part 1 (overall structure) (#1744)
pmm-sumo Dec 3, 2020
51e08c5
[dynatraceexporter] retry, queueing, and error handling (#1754)
dyladan Dec 4, 2020
56652dc
Fix duplicate entry in dependabot.yml (#1758)
bogdandrutu Dec 4, 2020
8957603
Bump github.com/aws/aws-sdk-go (#1771)
dependabot[bot] Dec 7, 2020
d0e63d3
Bump google.golang.org/grpc in /exporter/azuremonitorexporter (#1777)
dependabot[bot] Dec 7, 2020
a1346c7
Bump github.com/testcontainers/testcontainers-go (#1775)
dependabot[bot] Dec 7, 2020
5594573
Bump github.com/observiq/stanza in /receiver/stanzareceiver (#1776)
dependabot[bot] Dec 7, 2020
0df5878
Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1773)
dependabot[bot] Dec 7, 2020
ef2c5c9
Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1770)
dependabot[bot] Dec 7, 2020
9f6f4a4
Bump google.golang.org/grpc in /processor/routingprocessor (#1767)
dependabot[bot] Dec 7, 2020
b364afd
Bump github.com/shirou/gopsutil in /extension/observer/hostobserver (…
dependabot[bot] Dec 7, 2020
18f5680
Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocess…
dependabot[bot] Dec 7, 2020
57306bf
Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleap…
dependabot[bot] Dec 7, 2020
313a5a5
Bump google.golang.org/grpc from 1.33.2 to 1.34.0 in /tracegen (#1762)
dependabot[bot] Dec 7, 2020
7bb2203
Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1764)
dependabot[bot] Dec 7, 2020
4c19ecf
Bump github.com/shirou/gopsutil in /receiver/jmxreceiver (#1774)
dependabot[bot] Dec 7, 2020
c559ac4
Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1766)
dependabot[bot] Dec 7, 2020
778a07b
Bump google.golang.org/grpc in /exporter/stackdriverexporter (#1769)
dependabot[bot] Dec 7, 2020
105dc99
Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1760)
dependabot[bot] Dec 7, 2020
4736695
Upgrade otel collector core, fix changes after no nil Status (#1757)
bogdandrutu Dec 7, 2020
4f73102
Return 200 when signalfx receiver succeed (#1785)
bogdandrutu Dec 7, 2020
1a9bf92
AWSEMFExporter - Add collector version to EMF exporter user agent (#1…
shaochengwang Dec 7, 2020
a20a6f4
Change fields type and add sourceFormat(s) (#1756)
sumo-drosiek Dec 7, 2020
568d94d
Update signalfx-collector.yaml (#1790)
tigrannajaryan Dec 9, 2020
fb3f240
Add configuration options to dynatraceexporter readme (#1788)
dyladan Dec 9, 2020
5008dc1
Change the User-Agent content order for xray and emf exporter (#1791)
shaochengwang Dec 9, 2020
a045ffc
AWS X-Ray exporter: Add documentation about indexed attributes (#1780)
adamantike Dec 9, 2020
a84baea
Add rakyll and alolita as code owners for aws prometheus remote write…
Dec 10, 2020
241c509
Mock Credentials in AWSPrometheusRemoteWriteExporter Tests (#1755)
Dec 10, 2020
f53bd40
[datadogexporter] Use a singleton for sublayer calculation (#1759)
mx-psi Dec 11, 2020
edb91c3
exporters/signalfx: Configure correlation from signalfx exporter (#1795)
jrcamp Dec 14, 2020
a4a366c
Initialize spectatord exporter for Titus kubelet
gabrielhartmann Sep 18, 2020
c2a32f5
Clear the adapater cache once a minute
gabrielhartmann Sep 30, 2020
55fe144
Add metric scaling to the metricstransform processor
gabrielhartmann Oct 2, 2020
ada5a9a
Reduce logging verbosity for pushes to spectatord in pods
gabrielhartmann Oct 28, 2020
c66e7e9
Add keystone exporter (#2)
gabrielhartmann Oct 29, 2020
f23aacf
Add simple spectatord exporter (#3)
gabrielhartmann Dec 10, 2020
3b57225
Merge branch 'titus' into amp
gabrielhartmann Dec 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[awsemfexporter] Add label matching filtering rule (#1619)
* Implement label matcher struct and matching logic

* Implement label matching in metric declaration matching logic

* Update comment

* Change lesser important log outputs to debug level

* Make regex attribute mandatory

* Format code

* Add test to metric_translator_test.go

* Make label_matcher a subsection

* Perform metric matching by metric name before labels
  • Loading branch information
kohrapha committed Nov 23, 2020
commit aa2cdfa0b05b10743665eb32f6691fadd01d4762
13 changes: 11 additions & 2 deletions exporter/awsemfexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ The following exporter configuration parameters are supported.
| [`metric_declarations`](#metric_declaration) | List of rules for filtering exported metrics and their dimensions. | [ ] |

### <metric_declaration>
A metric_declaration section characterizes a rule to be used to set dimensions for exported metrics, filtered by the incoming metrics' metric names.
A metric_declaration section characterizes a rule to be used to set dimensions for exported metrics, filtered by the incoming metrics' labels and metric names.
| Name | Description | Default |
| :---------------- | :--------------------------------------------------------------------- | ------- |
| `dimensions` | List of dimension sets to be exported. | [[ ]] |
| `metric_name_selectors` | List of regex strings to filter metric names by. | [ ] |
| `metric_name_selectors` | List of regex strings to filter metric names by. | |
| [`label_matchers`](#label_matcher) | (Optional) list of label matching rules to filter metrics by their labels. This rule is applied to any metric that matches any of the label matchers. | [ ] |

#### <label_matcher>
A label_matcher section defines a matching rule against the labels of the incoming metric. Only metrics that match the rules will be used by the surrounding `metric_declaration`.
| Name | Description | Default |
| :---------------- | :--------------------------------------------------------------------- | ------- |
| `label_names` | List of label names to filter by. Their corresponding values are concatenated using the separator and matched against the configured regular expression. | |
| `separator` | (Optional) separator placed between concatenated label values. | ";" |
| `regex` | Regex string to be matched against concatenated label values. | |


## AWS Credential Configuration
Expand Down
91 changes: 86 additions & 5 deletions exporter/awsemfexporter/metric_declaration.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package awsemfexporter

import (
"bytes"
"errors"
"regexp"
"sort"
Expand All @@ -34,11 +35,28 @@ type MetricDeclaration struct {
// MetricNameSelectors is a list of regex strings to be matched against metric names
// to determine which metrics should be included with this metric declaration rule.
MetricNameSelectors []string `mapstructure:"metric_name_selectors"`
// (Optional) List of label matchers that define matching rules to filter against
// the labels of incoming metrics.
LabelMatchers []*LabelMatcher `mapstructure:"label_matchers"`

// metricRegexList is a list of compiled regexes for metric name selectors.
metricRegexList []*regexp.Regexp
}

// Defines a label filtering rule against the labels of incoming metrics. Only metrics that
// match the rules will be used by the surrounding MetricDeclaration.
type LabelMatcher struct {
// List of label names to filter by. Their corresponding values are concatenated using
// the separator and matched against the specified regular expression.
LabelNames []string `mapstructure:"label_names"`
// (Optional) Separator placed between concatenated source label values. (Default: ';')
Separator string `mapstructure:"separator"`
// Regex string to be used to match against values of the concatenated labels.
Regex string `mapstructure:"regex"`

compiledRegex *regexp.Regexp
}

// Remove duplicated entries from dimension set.
func dedupDimensionSet(dimensions []string) (deduped []string, hasDuplicate bool) {
seen := make(map[string]bool, len(dimensions))
Expand Down Expand Up @@ -80,7 +98,7 @@ func (m *MetricDeclaration) Init(logger *zap.Logger) (err error) {
// Dedup dimensions within dimension set
dedupedDims, hasDuplicate := dedupDimensionSet(dimSet)
if hasDuplicate {
logger.Warn("Removed duplicates from dimension set.", zap.String("dimensions", concatenatedDims))
logger.Debug("Removed duplicates from dimension set.", zap.String("dimensions", concatenatedDims))
}

// Sort dimensions
Expand All @@ -89,7 +107,7 @@ func (m *MetricDeclaration) Init(logger *zap.Logger) (err error) {
// Dedup dimension sets
key := strings.Join(dedupedDims, ",")
if _, ok := seen[key]; ok {
logger.Warn("Dropped dimension set: duplicated dimension set.", zap.String("dimensions", concatenatedDims))
logger.Debug("Dropped dimension set: duplicated dimension set.", zap.String("dimensions", concatenatedDims))
continue
}
seen[key] = true
Expand All @@ -101,17 +119,42 @@ func (m *MetricDeclaration) Init(logger *zap.Logger) (err error) {
for i, selector := range m.MetricNameSelectors {
m.metricRegexList[i] = regexp.MustCompile(selector)
}

// Initialize label matchers
for _, lm := range m.LabelMatchers {
if err := lm.Init(); err != nil {
return err
}
}
return
}

// Matches returns true if the given OTLP Metric's name matches any of the Metric
// Declaration's metric name selectors.
func (m *MetricDeclaration) Matches(metric *pdata.Metric) bool {
// Declaration's metric name selectors and label matchers.
func (m *MetricDeclaration) Matches(metric *pdata.Metric, labels map[string]string) bool {
// Check if metric matches at least one of the metric name selectors
hasMetricNameMatch := false
for _, regex := range m.metricRegexList {
if regex.MatchString(metric.Name()) {
hasMetricNameMatch = true
break
}
}
if !hasMetricNameMatch {
return false
}

if len(m.LabelMatchers) == 0 {
return true
}

// If there are label matchers defined, check if metric's labels matches at least one
for _, lm := range m.LabelMatchers {
if lm.Matches(labels) {
return true
}
}

return false
}

Expand All @@ -136,6 +179,44 @@ func (m *MetricDeclaration) ExtractDimensions(labels map[string]string) (dimensi
return
}

// Initialize LabelMatcher with default values and compile regex string.
func (lm *LabelMatcher) Init() (err error) {
// Throw error if no label names are specified
if len(lm.LabelNames) == 0 {
return errors.New("label matcher must have at least one label name specified")
}
if len(lm.Regex) == 0 {
return errors.New("regex not specified for label matcher")
}
if len(lm.Separator) == 0 {
lm.Separator = ";"
}
lm.compiledRegex = regexp.MustCompile(lm.Regex)
return
}

// Returns true if given set of labels matches the LabelMatcher's rules.
func (lm *LabelMatcher) Matches(labels map[string]string) bool {
concatenatedLabels := lm.getConcatenatedLabels(labels)
return lm.compiledRegex.MatchString(concatenatedLabels)
}

// Concatenate label values of matched labels using separator defined by the LabelMatcher's rules.
func (lm *LabelMatcher) getConcatenatedLabels(labels map[string]string) string {
buf := new(bytes.Buffer)
isFirstLabel := true
for _, labelName := range lm.LabelNames {
if isFirstLabel {
isFirstLabel = false
} else {
buf.WriteString(lm.Separator)
}

buf.WriteString(labels[labelName])
}
return buf.String()
}

// processMetricDeclarations processes a list of MetricDeclarations and creates a
// list of dimension sets that matches the given `metric`. This list is then aggregated
// together with the rolled-up dimensions. Returned dimension sets
Expand All @@ -155,7 +236,7 @@ func processMetricDeclarations(metricDeclarations []*MetricDeclaration, metric *
}
// Extract and append dimensions from metric declarations
for _, m := range metricDeclarations {
if m.Matches(metric) {
if m.Matches(metric, labels) {
extractedDims := m.ExtractDimensions(labels)
for _, dimSet := range extractedDims {
addDimSet(dimSet)
Expand Down
Loading