Skip to content

Use auto rate interval for blob thoughput metrics #2066

Use auto rate interval for blob thoughput metrics

Use auto rate interval for blob thoughput metrics #2066

Triggered via pull request June 23, 2024 02:16
Status Failure
Total duration 33s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Linter: disperser/dataapi/blobs_handlers.go#L1
: # github.com/Layr-Labs/eigenda/disperser/dataapi
Linter: disperser/dataapi/prometheus_client.go#L38
cannot use (*prometheusClient)(nil) (value of type *prometheusClient) as PrometheusClient value in variable declaration: *prometheusClient does not implement PrometheusClient (wrong type for method QueryDisperserAvgThroughputBlobSizeBytes)
Linter: disperser/dataapi/metrics_handlers.go#L82
not enough arguments in call to s.promClient.QueryDisperserAvgThroughputBlobSizeBytes
Linter: disperser/cmd/dataapi/config.go#L12
could not import github.com/Layr-Labs/eigenda/disperser/dataapi (-: # github.com/Layr-Labs/eigenda/disperser/dataapi
Linter: disperser/dataapi/prometheus_client.go#L38
cannot use (*prometheusClient)(nil) (value of type *prometheusClient) as PrometheusClient value in variable declaration: *prometheusClient does not implement PrometheusClient (wrong type for method QueryDisperserAvgThroughputBlobSizeBytes)
Linter: disperser/dataapi/metrics_handlers.go#L82
not enough arguments in call to s.promClient.QueryDisperserAvgThroughputBlobSizeBytes
Linter: disperser/dataapi/nonsigner_utils_test.go#L8
could not import github.com/Layr-Labs/eigenda/disperser/dataapi (-: # github.com/Layr-Labs/eigenda/disperser/dataapi
Linter: disperser/dataapi/prometheus_client.go#L38
cannot use (*prometheusClient)(nil) (value of type *prometheusClient) as PrometheusClient value in variable declaration: *prometheusClient does not implement PrometheusClient (wrong type for method QueryDisperserAvgThroughputBlobSizeBytes)
Linter: disperser/dataapi/metrics_handlers.go#L82
not enough arguments in call to s.promClient.QueryDisperserAvgThroughputBlobSizeBytes
Linter
issues found
Linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.