From 3ad413f534ff56ef84517419c4f6d31d459665ba Mon Sep 17 00:00:00 2001 From: Daniel Jaglowski Date: Thu, 8 Feb 2024 15:00:00 -0600 Subject: [PATCH] [chore] Remove unmaintained file receiver (#31051) This component never advanced beyond development status and is incomplete so I propose that it be deleted. --- .github/CODEOWNERS | 17 ++- .github/ISSUE_TEMPLATE/bug_report.yaml | 1 - .github/ISSUE_TEMPLATE/feature_request.yaml | 1 - .github/ISSUE_TEMPLATE/other.yaml | 1 - cmd/otelcontribcol/builder-config.yaml | 2 - cmd/otelcontribcol/components.go | 2 - cmd/otelcontribcol/go.mod | 3 - receiver/filereceiver/Makefile | 1 - receiver/filereceiver/README.md | 46 ------ receiver/filereceiver/config.go | 39 ----- receiver/filereceiver/config_test.go | 70 --------- receiver/filereceiver/doc.go | 6 - receiver/filereceiver/factory.go | 37 ----- receiver/filereceiver/factory_test.go | 24 ---- receiver/filereceiver/file_reader.go | 132 ----------------- receiver/filereceiver/file_reader_test.go | 93 ------------ receiver/filereceiver/go.mod | 58 -------- receiver/filereceiver/go.sum | 135 ------------------ .../internal/metadata/generated_status.go | 25 ---- receiver/filereceiver/metadata.yaml | 10 -- receiver/filereceiver/receiver.go | 53 ------- receiver/filereceiver/receiver_test.go | 59 -------- receiver/filereceiver/replay_timer.go | 53 ------- receiver/filereceiver/replay_timer_test.go | 40 ------ receiver/filereceiver/testdata/config.yaml | 6 - receiver/filereceiver/testdata/metrics.json | 10 -- reports/distributions/contrib.yaml | 1 - versions.yaml | 1 - 28 files changed, 8 insertions(+), 918 deletions(-) delete mode 100644 receiver/filereceiver/Makefile delete mode 100644 receiver/filereceiver/README.md delete mode 100644 receiver/filereceiver/config.go delete mode 100644 receiver/filereceiver/config_test.go delete mode 100644 receiver/filereceiver/doc.go delete mode 100644 receiver/filereceiver/factory.go delete mode 100644 receiver/filereceiver/factory_test.go delete mode 100644 receiver/filereceiver/file_reader.go delete mode 100644 receiver/filereceiver/file_reader_test.go delete mode 100644 receiver/filereceiver/go.mod delete mode 100644 receiver/filereceiver/go.sum delete mode 100644 receiver/filereceiver/internal/metadata/generated_status.go delete mode 100644 receiver/filereceiver/metadata.yaml delete mode 100644 receiver/filereceiver/receiver.go delete mode 100644 receiver/filereceiver/receiver_test.go delete mode 100644 receiver/filereceiver/replay_timer.go delete mode 100644 receiver/filereceiver/replay_timer_test.go delete mode 100644 receiver/filereceiver/testdata/config.yaml delete mode 100644 receiver/filereceiver/testdata/metrics.json diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 81d33e624b910..bdee71cfc1ad1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -203,7 +203,6 @@ receiver/dockerstatsreceiver/ @open-telemetry/collect receiver/elasticsearchreceiver/ @open-telemetry/collector-contrib-approvers @djaglowski @BinaryFissionGames receiver/expvarreceiver/ @open-telemetry/collector-contrib-approvers @jamesmoessis @MovieStoreGuy receiver/filelogreceiver/ @open-telemetry/collector-contrib-approvers @djaglowski -receiver/filereceiver/ @open-telemetry/collector-contrib-approvers @djaglowski receiver/filestatsreceiver/ @open-telemetry/collector-contrib-approvers @atoulme receiver/flinkmetricsreceiver/ @open-telemetry/collector-contrib-approvers @JonathanWamsley @djaglowski receiver/fluentforwardreceiver/ @open-telemetry/collector-contrib-approvers @dmitryax @@ -280,12 +279,12 @@ testbed/mockdatasenders/mockdatadogagentexporter/ @open-telemetry/collect # List of distribution maintainers for OpenTelemetry Collector Contrib # ##################################################### -reports/distributions/core.yaml @open-telemetry/collector-contrib-approvers -reports/distributions/contrib.yaml @open-telemetry/collector-contrib-approvers -reports/distributions/aws.yaml @open-telemetry/collector-contrib-approvers -reports/distributions/grafana.yaml @open-telemetry/collector-contrib-approvers -reports/distributions/observiq.yaml @open-telemetry/collector-contrib-approvers -reports/distributions/redhat.yaml @open-telemetry/collector-contrib-approvers +reports/distributions/core.yaml @open-telemetry/collector-contrib-approvers +reports/distributions/contrib.yaml @open-telemetry/collector-contrib-approvers +reports/distributions/aws.yaml @open-telemetry/collector-contrib-approvers +reports/distributions/grafana.yaml @open-telemetry/collector-contrib-approvers +reports/distributions/observiq.yaml @open-telemetry/collector-contrib-approvers +reports/distributions/redhat.yaml @open-telemetry/collector-contrib-approvers reports/distributions/splunk.yaml @open-telemetry/collector-contrib-approvers @atoulme @crobert-1 @dmitryax @hughesjj @jeffreyc-splunk @jinja2 @jvoravong @panotti @rmfitzpatrick @samiura reports/distributions/sumo.yaml @open-telemetry/collector-contrib-approvers @aboguszewski-sumo @astencel-sumo @kkujawa-sumo @rnishtala-sumo @sumo-drosiek @swiatekm-sumo reports/distributions/liatrio.yaml @open-telemetry/collector-contrib-approvers @adrielp @@ -293,5 +292,5 @@ reports/distributions/liatrio.yaml @open-telemetry/collector-contrib-approvers ## UNMAINTAINED components -exporter/alibabacloudlogserviceexporter/ @open-telemetry/collector-contrib-approvers -exporter/skywalkingexporter/ @open-telemetry/collector-contrib-approvers +exporter/alibabacloudlogserviceexporter/ @open-telemetry/collector-contrib-approvers +exporter/skywalkingexporter/ @open-telemetry/collector-contrib-approvers diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 552d492330d96..eadcc79b7fc57 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -198,7 +198,6 @@ body: - receiver/dockerstats - receiver/elasticsearch - receiver/expvar - - receiver/file - receiver/filelog - receiver/filestats - receiver/flinkmetrics diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index ecca3de8e1711..af0d0d2bc7df2 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -192,7 +192,6 @@ body: - receiver/dockerstats - receiver/elasticsearch - receiver/expvar - - receiver/file - receiver/filelog - receiver/filestats - receiver/flinkmetrics diff --git a/.github/ISSUE_TEMPLATE/other.yaml b/.github/ISSUE_TEMPLATE/other.yaml index a9ff492bdfa83..54a441148125e 100644 --- a/.github/ISSUE_TEMPLATE/other.yaml +++ b/.github/ISSUE_TEMPLATE/other.yaml @@ -192,7 +192,6 @@ body: - receiver/dockerstats - receiver/elasticsearch - receiver/expvar - - receiver/file - receiver/filelog - receiver/filestats - receiver/flinkmetrics diff --git a/cmd/otelcontribcol/builder-config.yaml b/cmd/otelcontribcol/builder-config.yaml index 6fd2ae0c7bb40..82742406887c9 100644 --- a/cmd/otelcontribcol/builder-config.yaml +++ b/cmd/otelcontribcol/builder-config.yaml @@ -145,7 +145,6 @@ receivers: - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/expvarreceiver v0.94.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver v0.94.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filestatsreceiver v0.94.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver v0.94.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver v0.94.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver v0.94.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudpubsubreceiver v0.94.0 @@ -362,7 +361,6 @@ replaces: - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbreceiver => ../../receiver/mongodbreceiver - github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite => ../../pkg/translator/prometheusremotewrite - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver => ../../receiver/filelogreceiver - - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver => ../../receiver/filereceiver - github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter => ../../exporter/signalfxexporter - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/solacereceiver => ../../receiver/solacereceiver - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver => ../../receiver/iisreceiver diff --git a/cmd/otelcontribcol/components.go b/cmd/otelcontribcol/components.go index 0ca921805cee3..3bf6e43d2dd16 100644 --- a/cmd/otelcontribcol/components.go +++ b/cmd/otelcontribcol/components.go @@ -142,7 +142,6 @@ import ( elasticsearchreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver" expvarreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/expvarreceiver" filelogreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver" - filereceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver" filestatsreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filestatsreceiver" flinkmetricsreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver" fluentforwardreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" @@ -273,7 +272,6 @@ func components() (otelcol.Factories, error) { expvarreceiver.NewFactory(), filelogreceiver.NewFactory(), filestatsreceiver.NewFactory(), - filereceiver.NewFactory(), flinkmetricsreceiver.NewFactory(), fluentforwardreceiver.NewFactory(), googlecloudpubsubreceiver.NewFactory(), diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod index ddf8ac642e712..c9e3a177470be 100644 --- a/cmd/otelcontribcol/go.mod +++ b/cmd/otelcontribcol/go.mod @@ -130,7 +130,6 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver v0.94.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/expvarreceiver v0.94.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver v0.94.0 - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver v0.94.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filestatsreceiver v0.94.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver v0.94.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver v0.94.0 @@ -1016,8 +1015,6 @@ replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver => ../../receiver/filelogreceiver -replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver => ../../receiver/filereceiver - replace github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter => ../../exporter/signalfxexporter replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/solacereceiver => ../../receiver/solacereceiver diff --git a/receiver/filereceiver/Makefile b/receiver/filereceiver/Makefile deleted file mode 100644 index ded7a36092dc3..0000000000000 --- a/receiver/filereceiver/Makefile +++ /dev/null @@ -1 +0,0 @@ -include ../../Makefile.Common diff --git a/receiver/filereceiver/README.md b/receiver/filereceiver/README.md deleted file mode 100644 index a3ce84297b5d1..0000000000000 --- a/receiver/filereceiver/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# File Receiver - - -| Status | | -| ------------- |-----------| -| Stability | [development]: metrics | -| Distributions | [contrib] | -| Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Areceiver%2Ffile%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Areceiver%2Ffile) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Areceiver%2Ffile%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Areceiver%2Ffile) | -| [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@djaglowski](https://www.github.com/djaglowski) | -| Emeritus | [@pmcollins](https://www.github.com/pmcollins) | - -[development]: https://github.com/open-telemetry/opentelemetry-collector#development -[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib - - -The File Receiver reads the output of a -[File Exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/fileexporter), -converting that output to metrics, and sending the metrics down the pipeline. - -Currently, the only file format supported is the File Exporter's JSON format. Reading compressed output, rotated files, -or telemetry other than metrics are not supported at this time. - -## Getting Started - -The following setting is required: - -- `path` [no default]: the file in the same format as written by a File Exporter. - -The following setting is optional: - -- `throttle` [default: 1]: a determines how fast telemetry is replayed. A value of `0` means - that it will be replayed as fast as the system will allow. A value of `1` means that it will - be replayed at the same rate as the data came in, as indicated by the timestamps on the - input file's telemetry data. Higher values mean that the replay speed will be slower by a - multiple of the throttle value. Values can be decimals, e.g. `0.5` means that telemetry will be - replayed at 2x the rate indicated by the telemetry's timestamps. - -## Example - -```yaml -receivers: - file: - path: my-telemetry-file - throttle: 0.5 -``` - diff --git a/receiver/filereceiver/config.go b/receiver/filereceiver/config.go deleted file mode 100644 index f69764cdd978a..0000000000000 --- a/receiver/filereceiver/config.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver" - -import ( - "errors" - - "go.opentelemetry.io/collector/component" -) - -// Config defines the configuration for the file receiver. -type Config struct { - // Path of the file to read from. Path is relative to current directory. - Path string `mapstructure:"path"` - // Throttle determines how fast telemetry is replayed. A value of zero means - // that it will be replayed as fast as the system will allow. A value of 1 means - // that it will be replayed at the same rate as the data came in, as indicated - // by the timestamps on the input file's telemetry data. Higher values mean that - // replay will be slower by a corresponding amount. Use a value between 0 and 1 - // to replay telemetry at a higher speed. Default: 1. - Throttle float64 `mapstructure:"throttle"` -} - -func createDefaultConfig() component.Config { - return &Config{ - Throttle: 1, - } -} - -func (c Config) Validate() error { - if c.Path == "" { - return errors.New("path cannot be empty") - } - if c.Throttle < 0 { - return errors.New("throttle cannot be negative") - } - return nil -} diff --git a/receiver/filereceiver/config_test.go b/receiver/filereceiver/config_test.go deleted file mode 100644 index 538b0b75f7502..0000000000000 --- a/receiver/filereceiver/config_test.go +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver - -import ( - "path/filepath" - "testing" - - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "go.opentelemetry.io/collector/component" - "go.opentelemetry.io/collector/confmap/confmaptest" - - "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver/internal/metadata" -) - -func TestLoadConfig_Validate_Invalid(t *testing.T) { - cfg := Config{} - assert.Error(t, cfg.Validate()) -} - -func TestConfig_Validate_Valid(t *testing.T) { - cfg := Config{Path: "/foo/bar"} - assert.NoError(t, cfg.Validate()) -} - -func TestLoadConfig(t *testing.T) { - cm, err := confmaptest.LoadConf(filepath.Join("testdata", "config.yaml")) - require.NoError(t, err) - - tests := []struct { - id component.ID - expected component.Config - errorMessage string - }{ - { - id: component.NewIDWithName(metadata.Type, ""), - errorMessage: "path cannot be empty", - }, { - id: component.NewIDWithName(metadata.Type, "1"), - expected: &Config{ - Path: "./filename.json", - Throttle: 1, - }, - }, { - id: component.NewIDWithName(metadata.Type, "2"), - errorMessage: "throttle cannot be negative", - }, - } - - for _, tt := range tests { - t.Run(tt.id.String(), func(t *testing.T) { - factory := NewFactory() - cfg := factory.CreateDefaultConfig() - - sub, err := cm.Sub(tt.id.String()) - require.NoError(t, err) - require.NoError(t, component.UnmarshalConfig(sub, cfg)) - - if tt.errorMessage != "" { - assert.EqualError(t, component.ValidateConfig(cfg), tt.errorMessage) - return - } - - assert.NoError(t, component.ValidateConfig(cfg)) - assert.Equal(t, tt.expected, cfg) - }) - } -} diff --git a/receiver/filereceiver/doc.go b/receiver/filereceiver/doc.go deleted file mode 100644 index b369ebd3860a4..0000000000000 --- a/receiver/filereceiver/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -//go:generate mdatagen metadata.yaml - -package filereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver" diff --git a/receiver/filereceiver/factory.go b/receiver/filereceiver/factory.go deleted file mode 100644 index dea59d48a56db..0000000000000 --- a/receiver/filereceiver/factory.go +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver" - -import ( - "context" - - "go.opentelemetry.io/collector/component" - "go.opentelemetry.io/collector/consumer" - "go.opentelemetry.io/collector/receiver" - - "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver/internal/metadata" -) - -func NewFactory() receiver.Factory { - return receiver.NewFactory( - metadata.Type, - createDefaultConfig, - receiver.WithMetrics(createMetricsReceiver, metadata.MetricsStability), - ) -} - -func createMetricsReceiver( - _ context.Context, - settings receiver.CreateSettings, - cc component.Config, - consumer consumer.Metrics, -) (receiver.Metrics, error) { - cfg := cc.(*Config) - return &fileReceiver{ - consumer: consumer, - path: cfg.Path, - logger: settings.Logger, - throttle: cfg.Throttle, - }, nil -} diff --git a/receiver/filereceiver/factory_test.go b/receiver/filereceiver/factory_test.go deleted file mode 100644 index 8870b5a5f72be..0000000000000 --- a/receiver/filereceiver/factory_test.go +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver - -import ( - "context" - "testing" - - "github.com/stretchr/testify/require" - "go.opentelemetry.io/collector/consumer/consumertest" - "go.opentelemetry.io/collector/receiver/receivertest" -) - -func TestNewFactory(t *testing.T) { - f := NewFactory() - _, err := f.CreateMetricsReceiver( - context.Background(), - receivertest.NewNopCreateSettings(), - f.CreateDefaultConfig(), - consumertest.NewNop(), - ) - require.NoError(t, err) -} diff --git a/receiver/filereceiver/file_reader.go b/receiver/filereceiver/file_reader.go deleted file mode 100644 index 99c4449a98871..0000000000000 --- a/receiver/filereceiver/file_reader.go +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver" - -import ( - "bufio" - "context" - "errors" - "fmt" - "io" - "os" - - "go.opentelemetry.io/collector/consumer" - "go.opentelemetry.io/collector/pdata/pcommon" - "go.opentelemetry.io/collector/pdata/pmetric" -) - -// stringReader is the only function we use from *bufio.Reader. We define it -// so that it can be swapped out for testing. -type stringReader interface { - ReadString(delim byte) (string, error) -} - -// fileReader -type fileReader struct { - stringReader stringReader - unm pmetric.Unmarshaler - consumer consumer.Metrics - timer *replayTimer -} - -func newFileReader(consumer consumer.Metrics, file *os.File, timer *replayTimer) fileReader { - return fileReader{ - consumer: consumer, - stringReader: bufio.NewReader(file), - unm: &pmetric.JSONUnmarshaler{}, - timer: timer, - } -} - -// readAll calls readline for each line in the file until all lines have been -// read or the context is cancelled. -func (fr fileReader) readAll(ctx context.Context) error { - for { - select { - case <-ctx.Done(): - return nil - default: - err := fr.readLine(ctx) - if err != nil { - if errors.Is(err, io.EOF) { - return nil - } - return err - } - } - } -} - -// readLine reads the next line in the file, converting it into metrics and -// passing it to the the consumer member. -func (fr fileReader) readLine(ctx context.Context) error { - line, err := fr.stringReader.ReadString('\n') - if err != nil { - return fmt.Errorf("failed to read line from input file: %w", err) - } - metrics, err := fr.unm.UnmarshalMetrics([]byte(line)) - if err != nil { - return fmt.Errorf("failed to unmarshal metrics: %w", err) - } - err = fr.timer.wait(ctx, getFirstTimestamp(metrics)) - if err != nil { - return fmt.Errorf("readLine interrupted while waiting for timer: %w", err) - } - return fr.consumer.ConsumeMetrics(ctx, metrics) -} - -func getFirstTimestamp(metrics pmetric.Metrics) pcommon.Timestamp { - resourceMetrics := metrics.ResourceMetrics() - if resourceMetrics.Len() == 0 { - return 0 - } - scopeMetrics := resourceMetrics.At(0).ScopeMetrics() - if scopeMetrics.Len() == 0 { - return 0 - } - metricSlice := scopeMetrics.At(0).Metrics() - if metricSlice.Len() == 0 { - return 0 - } - return getFirstTimestampFromMetric(metricSlice.At(0)) -} - -func getFirstTimestampFromMetric(metric pmetric.Metric) pcommon.Timestamp { - //exhaustive:enforce - switch metric.Type() { - case pmetric.MetricTypeGauge: - dps := metric.Gauge().DataPoints() - if dps.Len() == 0 { - return 0 - } - return dps.At(0).Timestamp() - case pmetric.MetricTypeSum: - dps := metric.Sum().DataPoints() - if dps.Len() == 0 { - return 0 - } - return dps.At(0).Timestamp() - case pmetric.MetricTypeSummary: - dps := metric.Summary().DataPoints() - if dps.Len() == 0 { - return 0 - } - return dps.At(0).Timestamp() - case pmetric.MetricTypeHistogram: - dps := metric.Histogram().DataPoints() - if dps.Len() == 0 { - return 0 - } - return dps.At(0).Timestamp() - case pmetric.MetricTypeExponentialHistogram: - dps := metric.ExponentialHistogram().DataPoints() - if dps.Len() == 0 { - return 0 - } - return dps.At(0).Timestamp() - case pmetric.MetricTypeEmpty: - return 0 - } - return 0 -} diff --git a/receiver/filereceiver/file_reader_test.go b/receiver/filereceiver/file_reader_test.go deleted file mode 100644 index a888282815b36..0000000000000 --- a/receiver/filereceiver/file_reader_test.go +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver - -import ( - "context" - "os" - "path/filepath" - "testing" - "time" - - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "go.opentelemetry.io/collector/consumer/consumertest" - "go.opentelemetry.io/collector/pdata/pmetric" -) - -func TestFileReader_Readline(t *testing.T) { - tc := testConsumer{} - f, err := os.Open(filepath.Join("testdata", "metrics.json")) - require.NoError(t, err) - fr := newFileReader(&tc, f, newReplayTimer(0)) - err = fr.readLine(context.Background()) - require.NoError(t, err) - assert.Equal(t, 1, len(tc.consumed)) - metrics := tc.consumed[0] - assert.Equal(t, 26, metrics.MetricCount()) - byName := metricsByName(metrics) - rcpMetric := byName["redis.commands.processed"] - v := rcpMetric.Sum().DataPoints().At(0).IntValue() - const testdataValue = 2076 - assert.EqualValues(t, testdataValue, v) -} - -func TestFileReader_Cancellation(t *testing.T) { - fr := fileReader{ - consumer: consumertest.NewNop(), - stringReader: blockingStringReader{}, - } - ctx, cancel := context.WithCancel(context.Background()) - errs := make(chan error) - go func() { - errs <- fr.readAll(ctx) - }() - cancel() - require.Equal(t, 0, len(errs)) -} - -func TestFileReader_ReadAll(t *testing.T) { - tc := testConsumer{} - f, err := os.Open(filepath.Join("testdata", "metrics.json")) - require.NoError(t, err) - sleeper := &fakeSleeper{} - rt := &replayTimer{ - throttle: 2, - sleepFunc: sleeper.fakeSleep, - } - fr := newFileReader(&tc, f, rt) - err = fr.readAll(context.Background()) - require.NoError(t, err) - const expectedSleeps = 10 - assert.Len(t, sleeper.durations, expectedSleeps) - assert.EqualValues(t, 0, sleeper.durations[0]) - for i := 1; i < expectedSleeps; i++ { - expected := time.Second * 4 - actual := sleeper.durations[i] - delta := time.Millisecond * 10 - assert.InDelta(t, float64(expected), float64(actual), float64(delta)) - } -} - -type blockingStringReader struct { -} - -func (sr blockingStringReader) ReadString(byte) (string, error) { - select {} -} - -func metricsByName(pm pmetric.Metrics) map[string]pmetric.Metric { - out := map[string]pmetric.Metric{} - for i := 0; i < pm.ResourceMetrics().Len(); i++ { - sms := pm.ResourceMetrics().At(i).ScopeMetrics() - for j := 0; j < sms.Len(); j++ { - ms := sms.At(j).Metrics() - for k := 0; k < ms.Len(); k++ { - metric := ms.At(k) - out[metric.Name()] = metric - } - } - } - return out -} diff --git a/receiver/filereceiver/go.mod b/receiver/filereceiver/go.mod deleted file mode 100644 index edbef1969390e..0000000000000 --- a/receiver/filereceiver/go.mod +++ /dev/null @@ -1,58 +0,0 @@ -module github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver - -go 1.20 - -require ( - github.com/stretchr/testify v1.8.4 - go.opentelemetry.io/collector/component v0.94.1 - go.opentelemetry.io/collector/confmap v0.94.1 - go.opentelemetry.io/collector/consumer v0.94.1 - go.opentelemetry.io/collector/pdata v1.1.0 - go.opentelemetry.io/collector/receiver v0.94.1 - go.opentelemetry.io/otel/metric v1.23.0 - go.opentelemetry.io/otel/trace v1.23.0 - go.uber.org/zap v1.26.0 -) - -require ( - github.com/beorn7/perks v1.0.1 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/go-logr/logr v1.4.1 // indirect - github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/knadh/koanf/maps v0.1.1 // indirect - github.com/knadh/koanf/providers/confmap v0.1.0 // indirect - github.com/knadh/koanf/v2 v2.0.2 // indirect - github.com/mitchellh/copystructure v1.2.0 // indirect - github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c // indirect - github.com/mitchellh/reflectwalk v1.0.2 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/prometheus/client_golang v1.18.0 // indirect - github.com/prometheus/client_model v0.5.0 // indirect - github.com/prometheus/common v0.46.0 // indirect - github.com/prometheus/procfs v0.12.0 // indirect - go.opentelemetry.io/collector/config/configtelemetry v0.94.1 // indirect - go.opentelemetry.io/otel v1.23.0 // indirect - go.opentelemetry.io/otel/exporters/prometheus v0.45.1 // indirect - go.opentelemetry.io/otel/sdk v1.23.0 // indirect - go.opentelemetry.io/otel/sdk/metric v1.23.0 // indirect - go.uber.org/multierr v1.11.0 // indirect - golang.org/x/net v0.20.0 // indirect - golang.org/x/sys v0.16.0 // indirect - golang.org/x/text v0.14.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect - google.golang.org/grpc v1.61.0 // indirect - google.golang.org/protobuf v1.32.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) - -retract ( - v0.76.2 - v0.76.1 -) diff --git a/receiver/filereceiver/go.sum b/receiver/filereceiver/go.sum deleted file mode 100644 index 8b9cf0e28311e..0000000000000 --- a/receiver/filereceiver/go.sum +++ /dev/null @@ -1,135 +0,0 @@ -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= -github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 h1:TQcrn6Wq+sKGkpyPvppOz99zsMBaUOKXq6HSv655U1c= -github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs= -github.com/knadh/koanf/maps v0.1.1/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI= -github.com/knadh/koanf/providers/confmap v0.1.0 h1:gOkxhHkemwG4LezxxN8DMOFopOPghxRVp7JbIvdvqzU= -github.com/knadh/koanf/providers/confmap v0.1.0/go.mod h1:2uLhxQzJnyHKfxG927awZC7+fyHFdQkd697K4MdLnIU= -github.com/knadh/koanf/v2 v2.0.2 h1:sEZzPW2rVWSahcYILNq/syJdEyRafZIG0l9aWwL86HA= -github.com/knadh/koanf/v2 v2.0.2/go.mod h1:HN9uZ+qFAejH1e4G41gnoffIanINWQuONLXiV7kir6k= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= -github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= -github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c h1:cqn374mizHuIWj+OSJCajGr/phAmuMug9qIX3l9CflE= -github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= -github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= -github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= -github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= -github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= -github.com/prometheus/common v0.46.0 h1:doXzt5ybi1HBKpsZOL0sSkaNHJJqkyfEWZGGqqScV0Y= -github.com/prometheus/common v0.46.0/go.mod h1:Tp0qkxpb9Jsg54QMe+EAmqXkSV7Evdy1BTn+g2pa/hQ= -github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= -github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.opentelemetry.io/collector v0.94.1 h1:bGHW5NKmh34oMflMEyNCHpes6vtiQNXpgea4GiscAOs= -go.opentelemetry.io/collector/component v0.94.1 h1:j4peKsWb+QVBKPs2RJeIj5EoQW7yp2ZVGrd8Bu9HU9M= -go.opentelemetry.io/collector/component v0.94.1/go.mod h1:vg+kAH81C3YS0SPzUXkSFWLPC1WH7zx70dAtUWWIHcE= -go.opentelemetry.io/collector/config/configtelemetry v0.94.1 h1:ztYpBEBlvhcoxMiDKNmQ2SS+A41JZ4M19GfcxjCo8Zs= -go.opentelemetry.io/collector/config/configtelemetry v0.94.1/go.mod h1:2XLhyR/GVpWeZ2K044vCmrvH/d4Ewt0aD/y46avZyMU= -go.opentelemetry.io/collector/confmap v0.94.1 h1:O69bkeyR1YPAFz+jMd45aDZc1DtYnwb3Skgr2yALPqQ= -go.opentelemetry.io/collector/confmap v0.94.1/go.mod h1:pCT5UtcHaHVJ5BIILv1Z2VQyjZzmT9uTdBmC9+Z0AgA= -go.opentelemetry.io/collector/consumer v0.94.1 h1:l/9h5L71xr/d93snQ9fdxgz64C4UuB8mEDxpp456X8o= -go.opentelemetry.io/collector/consumer v0.94.1/go.mod h1:BIPWmw8wES6jlPTPC+acJxLvUzIdOm6uh/p/X85ALsY= -go.opentelemetry.io/collector/pdata v1.1.0 h1:cE6Al1rQieUjMHro6p6cKwcu3sjHXGG59BZ3kRVUvsM= -go.opentelemetry.io/collector/pdata v1.1.0/go.mod h1:IDkDj+B4Fp4wWOclBELN97zcb98HugJ8Q2gA4ZFsN8Q= -go.opentelemetry.io/collector/receiver v0.94.1 h1:p9kIPmDeLSAlFZZuHdFELGGiP0JduFEfsT8Uz6Ut+8g= -go.opentelemetry.io/collector/receiver v0.94.1/go.mod h1:AYdIg3Bl4kwiqQy/k3tuYQnS918gb5i3HcInn6owudE= -go.opentelemetry.io/otel v1.23.0 h1:Df0pqjqExIywbMCMTxkAwzjLZtRf+bBKLbUcpxO2C9E= -go.opentelemetry.io/otel v1.23.0/go.mod h1:YCycw9ZeKhcJFrb34iVSkyT0iczq/zYDtZYFufObyB0= -go.opentelemetry.io/otel/exporters/prometheus v0.45.1 h1:R/bW3afad6q6VGU+MFYpnEdo0stEARMCdhWu6+JI6aI= -go.opentelemetry.io/otel/exporters/prometheus v0.45.1/go.mod h1:wnHAfKRav5Dfp4iZhyWZ7SzQfT+rDZpEpYG7To+qJ1k= -go.opentelemetry.io/otel/metric v1.23.0 h1:pazkx7ss4LFVVYSxYew7L5I6qvLXHA0Ap2pwV+9Cnpo= -go.opentelemetry.io/otel/metric v1.23.0/go.mod h1:MqUW2X2a6Q8RN96E2/nqNoT+z9BSms20Jb7Bbp+HiTo= -go.opentelemetry.io/otel/sdk v1.23.0 h1:0KM9Zl2esnl+WSukEmlaAEjVY5HDZANOHferLq36BPc= -go.opentelemetry.io/otel/sdk v1.23.0/go.mod h1:wUscup7byToqyKJSilEtMf34FgdCAsFpFOjXnAwFfO0= -go.opentelemetry.io/otel/sdk/metric v1.23.0 h1:u81lMvmK6GMgN4Fty7K7S6cSKOZhMKJMK2TB+KaTs0I= -go.opentelemetry.io/otel/sdk/metric v1.23.0/go.mod h1:2LUOToN/FdX6wtfpHybOnCZjoZ6ViYajJYMiJ1LKDtQ= -go.opentelemetry.io/otel/trace v1.23.0 h1:37Ik5Ib7xfYVb4V1UtnT97T1jI+AoIYkJyPkuL4iJgI= -go.opentelemetry.io/otel/trace v1.23.0/go.mod h1:GSGTbIClEsuZrGIzoEHqsVfxgn5UkggkflQwDScNUsk= -go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= -go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= -go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= -go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 h1:6G8oQ016D88m1xAKljMlBOOGWDZkes4kMhgGFlf8WcQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917/go.mod h1:xtjpI3tXFPP051KaWnhvxkiubL/6dJ18vLVf7q2pTOU= -google.golang.org/grpc v1.61.0 h1:TOvOcuXn30kRao+gfcvsebNEa5iZIiLkisYEkf7R7o0= -google.golang.org/grpc v1.61.0/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= -google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/receiver/filereceiver/internal/metadata/generated_status.go b/receiver/filereceiver/internal/metadata/generated_status.go deleted file mode 100644 index 8c577d37c2827..0000000000000 --- a/receiver/filereceiver/internal/metadata/generated_status.go +++ /dev/null @@ -1,25 +0,0 @@ -// Code generated by mdatagen. DO NOT EDIT. - -package metadata - -import ( - "go.opentelemetry.io/collector/component" - "go.opentelemetry.io/otel/metric" - "go.opentelemetry.io/otel/trace" -) - -var ( - Type = component.MustNewType("file") -) - -const ( - MetricsStability = component.StabilityLevelDevelopment -) - -func Meter(settings component.TelemetrySettings) metric.Meter { - return settings.MeterProvider.Meter("otelcol/filereceiver") -} - -func Tracer(settings component.TelemetrySettings) trace.Tracer { - return settings.TracerProvider.Tracer("otelcol/filereceiver") -} diff --git a/receiver/filereceiver/metadata.yaml b/receiver/filereceiver/metadata.yaml deleted file mode 100644 index 45b12d9e20722..0000000000000 --- a/receiver/filereceiver/metadata.yaml +++ /dev/null @@ -1,10 +0,0 @@ -type: file - -status: - class: receiver - stability: - development: [metrics] - distributions: [contrib] - codeowners: - active: [djaglowski] - emeritus: [pmcollins] \ No newline at end of file diff --git a/receiver/filereceiver/receiver.go b/receiver/filereceiver/receiver.go deleted file mode 100644 index 9f4f0aeb887d6..0000000000000 --- a/receiver/filereceiver/receiver.go +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver" - -import ( - "context" - "errors" - "fmt" - "io" - "os" - - "go.opentelemetry.io/collector/component" - "go.opentelemetry.io/collector/consumer" - "go.uber.org/zap" -) - -type fileReceiver struct { - consumer consumer.Metrics - logger *zap.Logger - cancel context.CancelFunc - path string - throttle float64 -} - -func (r *fileReceiver) Start(ctx context.Context, _ component.Host) error { - ctx, r.cancel = context.WithCancel(ctx) - - file, err := os.Open(r.path) - if err != nil { - return fmt.Errorf("failed to open file %q: %w", r.path, err) - } - - fr := newFileReader(r.consumer, file, newReplayTimer(r.throttle)) - go func() { - err := fr.readAll(ctx) - if err != nil { - if errors.Is(err, io.EOF) { - r.logger.Debug("EOF reached") - } else { - r.logger.Error("failed to read input file", zap.Error(err)) - } - } - }() - return nil -} - -func (r *fileReceiver) Shutdown(_ context.Context) error { - if r.cancel != nil { - r.cancel() - } - return nil -} diff --git a/receiver/filereceiver/receiver_test.go b/receiver/filereceiver/receiver_test.go deleted file mode 100644 index fb0e89f385487..0000000000000 --- a/receiver/filereceiver/receiver_test.go +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver - -import ( - "context" - "sync" - "testing" - "time" - - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "go.opentelemetry.io/collector/component/componenttest" - "go.opentelemetry.io/collector/consumer" - "go.opentelemetry.io/collector/pdata/pmetric" - "go.uber.org/zap" -) - -func TestReceiver(t *testing.T) { - tc := &testConsumer{} - r := &fileReceiver{ - path: "testdata/metrics.json", - consumer: tc, - logger: zap.NewNop(), - } - err := r.Start(context.Background(), componenttest.NewNopHost()) - require.NoError(t, err) - assert.Eventually(t, func() bool { - const numExpectedMetrics = 10 - return numExpectedMetrics == tc.numConsumed() - }, 2*time.Second, 100*time.Millisecond) - err = r.Shutdown(context.Background()) - assert.NoError(t, err) -} - -type testConsumer struct { - consumed []pmetric.Metrics - mu sync.Mutex -} - -func (c *testConsumer) Capabilities() consumer.Capabilities { - return consumer.Capabilities{} -} - -func (c *testConsumer) ConsumeMetrics(_ context.Context, md pmetric.Metrics) error { - c.mu.Lock() - defer c.mu.Unlock() - - c.consumed = append(c.consumed, md) - return nil -} - -func (c *testConsumer) numConsumed() int { - c.mu.Lock() - defer c.mu.Unlock() - - return len(c.consumed) -} diff --git a/receiver/filereceiver/replay_timer.go b/receiver/filereceiver/replay_timer.go deleted file mode 100644 index 318b52958ef2a..0000000000000 --- a/receiver/filereceiver/replay_timer.go +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver" - -import ( - "context" - "fmt" - "time" - - "go.opentelemetry.io/collector/pdata/pcommon" -) - -type replayTimer struct { - sleepFunc func(ctx context.Context, d time.Duration) error - prev pcommon.Timestamp - throttle float64 -} - -func newReplayTimer(throttle float64) *replayTimer { - return &replayTimer{ - throttle: throttle, - sleepFunc: sleepWithContext, - } -} - -func (t *replayTimer) wait(ctx context.Context, next pcommon.Timestamp) error { - if next == 0 { - return nil - } - var sleepDuration pcommon.Timestamp - if t.prev > 0 { - sleepDuration = pcommon.Timestamp(float64(next-t.prev) * t.throttle) - } - t.prev = next - err := t.sleepFunc(ctx, time.Duration(sleepDuration)) - if err != nil { - return fmt.Errorf("context cancelled while waiting for replay timer: %w", err) - } - return nil -} - -func sleepWithContext(ctx context.Context, d time.Duration) error { - timer := time.NewTimer(d) - defer timer.Stop() - - select { - case <-timer.C: - return nil - case <-ctx.Done(): - return ctx.Err() - } -} diff --git a/receiver/filereceiver/replay_timer_test.go b/receiver/filereceiver/replay_timer_test.go deleted file mode 100644 index 7dcc1d3bf7412..0000000000000 --- a/receiver/filereceiver/replay_timer_test.go +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package filereceiver - -import ( - "context" - "testing" - "time" - - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "go.opentelemetry.io/collector/pdata/pcommon" -) - -func TestReplayTimer(t *testing.T) { - s := &fakeSleeper{} - timer := &replayTimer{ - throttle: 0.5, - sleepFunc: s.fakeSleep, - } - firstMetricTime := time.Date(2020, time.January, 1, 1, 0, 0, 0, time.UTC) - err := timer.wait(context.Background(), pcommon.NewTimestampFromTime(firstMetricTime)) - require.NoError(t, err) - secondMetricTime := firstMetricTime.Add(time.Second * 10) - err = timer.wait(context.Background(), pcommon.NewTimestampFromTime(secondMetricTime)) - require.NoError(t, err) - err = timer.wait(context.Background(), 0) - require.NoError(t, err) - assert.Equal(t, s.durations, []time.Duration{0, time.Second * 5}) -} - -type fakeSleeper struct { - durations []time.Duration -} - -func (t *fakeSleeper) fakeSleep(_ context.Context, d time.Duration) error { - t.durations = append(t.durations, d) - return nil -} diff --git a/receiver/filereceiver/testdata/config.yaml b/receiver/filereceiver/testdata/config.yaml deleted file mode 100644 index 294a723526f97..0000000000000 --- a/receiver/filereceiver/testdata/config.yaml +++ /dev/null @@ -1,6 +0,0 @@ -file: -file/1: - path: ./filename.json -file/2: - path: ./filename.json - throttle: -1 diff --git a/receiver/filereceiver/testdata/metrics.json b/receiver/filereceiver/testdata/metrics.json deleted file mode 100644 index c164e285854fb..0000000000000 --- a/receiver/filereceiver/testdata/metrics.json +++ /dev/null @@ -1,10 +0,0 @@ -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"2076"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asDouble":109.261587},{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asDouble":0.004089},{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asDouble":210.122372}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asDouble":9.79}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"7929856"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"47771"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"8687214"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871374286204000","asInt":"708389"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"2077"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asDouble":109.262907},{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asDouble":0.004089},{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asDouble":210.124491}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asDouble":9.54}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"7925760"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"47794"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"8691407"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871376282850000","asInt":"708391"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"2078"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asDouble":210.126896},{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asDouble":109.262985},{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asDouble":0.004089}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asDouble":9.53}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"7921664"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"47817"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"8695604"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871378282035000","asInt":"708393"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"2079"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asDouble":0.004089},{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asDouble":109.263575},{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asDouble":210.130131}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asDouble":9.53}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"7917568"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"47840"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"8699801"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871380284110000","asInt":"708395"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"2080"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asDouble":210.1339},{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asDouble":109.263575},{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asDouble":0.004089}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asDouble":9.52}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"7913472"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"47863"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"8703998"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871382284342000","asInt":"708397"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"2081"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asDouble":0.004089},{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asDouble":210.137508},{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asDouble":109.264071}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asDouble":9.52}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"7909376"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"47886"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"8708195"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871384282442000","asInt":"708399"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"2082"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asDouble":210.138188},{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asDouble":109.266981},{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asDouble":0.004089}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asDouble":9.51}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"7905280"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"47909"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"8712392"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871386282787000","asInt":"708401"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"2083"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asDouble":210.139946},{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asDouble":109.269023},{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asDouble":0.004089}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asDouble":9.51}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"7901184"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"47932"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"8716589"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871388283745000","asInt":"708403"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"2084"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asDouble":210.139946},{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asDouble":109.272777},{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asDouble":0.004089}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asDouble":9.5}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"7897088"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"47955"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"8720786"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871390284235000","asInt":"708405"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} -{"resourceMetrics":[{"resource":{"attributes":[{"key":"redis.version","value":{"stringValue":"6.2.6"}}]},"scopeMetrics":[{"scope":{"name":"otelcol/redisreceiver","version":"latest"},"metrics":[{"name":"redis.clients.blocked","description":"Number of clients pending on a blocking call","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.connected","description":"Number of client connections (excluding connections from replicas)","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"1"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.clients.max_input_buffer","description":"Biggest input buffer among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"24"}]}},{"name":"redis.clients.max_output_buffer","description":"Longest output list among current client connections","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}]}},{"name":"redis.commands","description":"Number of commands processed per second","unit":"{ops}/s","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}]}},{"name":"redis.commands.processed","description":"Total number of commands processed by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"2085"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.received","description":"Total number of connections accepted by the server","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"24"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.connections.rejected","description":"Number of connections rejected because of maxclients limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.cpu.time","description":"System CPU consumed by the Redis server in seconds since server start","unit":"s","sum":{"dataPoints":[{"attributes":[{"key":"state","value":{"stringValue":"children"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asDouble":0.004089},{"attributes":[{"key":"state","value":{"stringValue":"user"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asDouble":109.276957},{"attributes":[{"key":"state","value":{"stringValue":"sys"}}],"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asDouble":210.139946}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.evicted","description":"Number of evicted keys due to maxmemory limit","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keys.expired","description":"Total number of key expiration events","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.hits","description":"Number of successful lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.keyspace.misses","description":"Number of failed lookup of keys in the main dictionary","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.latest_fork","description":"Duration of the latest fork operation in microseconds","unit":"us","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}]}},{"name":"redis.memory.fragmentation_ratio","description":"Ratio between used_memory_rss and used_memory","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asDouble":9.5}]}},{"name":"redis.memory.lua","description":"Number of bytes used by the Lua engine","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"37888"}]}},{"name":"redis.memory.peak","description":"Peak memory consumed by Redis (in bytes)","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"957504"}]}},{"name":"redis.memory.rss","description":"Number of bytes that Redis allocated as seen by the operating system","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"7892992"}]}},{"name":"redis.memory.used","description":"Total number of bytes allocated by Redis using its allocator","unit":"By","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"873640"}]}},{"name":"redis.net.input","description":"The total number of bytes read from the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"47978"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.net.output","description":"The total number of bytes written to the network","unit":"By","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"8724983"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}},{"name":"redis.rdb.changes_since_last_save","description":"Number of changes since the last dump","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.replication.backlog_first_byte_offset","description":"The master offset of the replication backlog buffer","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}]}},{"name":"redis.replication.offset","description":"The server's current replication offset","gauge":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}]}},{"name":"redis.slaves.connected","description":"Number of connected replicas","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"0"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"}},{"name":"redis.uptime","description":"Number of seconds since Redis server start","unit":"s","sum":{"dataPoints":[{"startTimeUnixNano":"1663162985286204000","timeUnixNano":"1663871392284453000","asInt":"708407"}],"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE","isMonotonic":true}}]}]}]} diff --git a/reports/distributions/contrib.yaml b/reports/distributions/contrib.yaml index 8c6dbd58e8edf..6985e6e54393f 100644 --- a/reports/distributions/contrib.yaml +++ b/reports/distributions/contrib.yaml @@ -118,7 +118,6 @@ components: - docker_stats - elasticsearch - expvar - - file - filelog - filestats - flinkmetrics diff --git a/versions.yaml b/versions.yaml index c85cf0e7cd978..754e19c8af5ea 100644 --- a/versions.yaml +++ b/versions.yaml @@ -191,7 +191,6 @@ module-sets: - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/expvarreceiver - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver - - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filereceiver - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filestatsreceiver - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver