Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File-level code coverage reports #35

Closed
wants to merge 7 commits into from

Conversation

leizor
Copy link
Contributor

@leizor leizor commented Mar 25, 2022

This PR changes the code coverage report to output on a per-file level instead of a per-function level. We will also start marking any previous code coverage reports as outdated and minimize them.

@grafanabot

This comment has been minimized.

1 similar comment
@grafanabot

This comment has been minimized.

@leizor leizor force-pushed the leizor/file-level-code-coverage branch from 08b91a6 to b08539e Compare March 25, 2022 00:15
@grafanabot

This comment has been minimized.

@leizor leizor marked this pull request as ready for review March 25, 2022 00:24
@grafanabot

This comment has been minimized.

@grafanabot
Copy link

Go coverage report:

File %
github.com/grafana/influx2cortex/pkg/errorx/errors.go 67.3%
github.com/grafana/influx2cortex/pkg/errorx/http_translator.go 100.0%
github.com/grafana/influx2cortex/pkg/influx/api.go 95.0%
github.com/grafana/influx2cortex/pkg/influx/errors.go 100.0%
github.com/grafana/influx2cortex/pkg/influx/parser.go 83.8%
github.com/grafana/influx2cortex/pkg/influx/recorder.go 100.0%
github.com/grafana/influx2cortex/pkg/remotewrite/client.go 69.1%
github.com/grafana/influx2cortex/pkg/remotewrite/measured_client.go 88.9%
github.com/grafana/influx2cortex/pkg/remotewrite/recorder.go 100.0%
github.com/grafana/influx2cortex/pkg/tenant/resolver.go 75.6%
github.com/grafana/influx2cortex/pkg/tenant/tenant.go 91.7%
github.com/grafana/influx2cortex/pkg/util/extract_forwarded.go 66.7%
github.com/grafana/influx2cortex/pkg/util/http.go 68.3%
github.com/grafana/influx2cortex/pkg/util/log/experimental.go 0.0%
github.com/grafana/influx2cortex/pkg/util/log/log.go 0.0%
github.com/grafana/influx2cortex/pkg/util/log/rate_limit.go 90.0%
github.com/grafana/influx2cortex/pkg/util/log/wrappers.go 0.0%
github.com/grafana/influx2cortex/pkg/util/push/push.go 60.0%
total 73.1%

@leizor leizor closed this Mar 25, 2022
@leizor leizor deleted the leizor/file-level-code-coverage branch March 25, 2022 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants