Skip to content

Commit

Permalink
migrate go module to its new path github.com/cloufoundry/firehose_exp…
Browse files Browse the repository at this point in the history
…orter
  • Loading branch information
gmllt committed Jun 19, 2024
1 parent 7051188 commit 164ba1d
Show file tree
Hide file tree
Showing 31 changed files with 81 additions and 81 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ Here are some ways *you* can contribute:
* by writing specifications
* by writing code (**no patch is too small**: fix typos, add comments, clean up inconsistent whitespace)
* by refactoring code
* by closing [issues](https://github.com/bosh-prometheus/firehose_exporter/issues)
* by closing [issues](https://github.com/cloudfoundry/firehose_exporter/issues)
* by reviewing patches

## Submitting an Issue

We use the [GitHub issue tracker](https://github.com/bosh-prometheus/firehose_exporter/issues) to track bugs and features. Before submitting a bug report or feature request, check to make sure it hasn't already been submitted. You can indicate support for an existing issue by voting it up. When submitting a bug report, please include a [Gist](http://gist.github.com/) that includes a stack trace and any details that may be necessary to reproduce the bug. Ideally, a bug report should include a pull request with failing specs.
We use the [GitHub issue tracker](https://github.com/cloudfoundry/firehose_exporter/issues) to track bugs and features. Before submitting a bug report or feature request, check to make sure it hasn't already been submitted. You can indicate support for an existing issue by voting it up. When submitting a bug report, please include a [Gist](http://gist.github.com/) that includes a stack trace and any details that may be necessary to reproduce the bug. Ideally, a bug report should include a pull request with failing specs.

## Submitting a Pull Request

Expand All @@ -28,4 +28,4 @@ We use the [GitHub issue tracker](https://github.com/bosh-prometheus/firehose_ex

## Code of Conduct

Please note that this project is released with a [Contributor Code of Conduct](https://github.com/bosh-prometheus/firehose_exporter/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/cloudfoundry/firehose_exporter/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
4 changes: 2 additions & 2 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ into the left metric (*firehose_container_metric_cpu_percentage*).

We will be glad to address any questions not answered here. Please, just open a [new issue][issues].

[cf_exporter]: https://github.com/bosh-prometheus/cf_exporter
[cf_exporter]: https://github.com/cloudfoundry/cf_exporter

[cfmetrics]: https://docs.cloudfoundry.org/loggregator/all_metrics.html

[firehose]: https://docs.cloudfoundry.org/loggregator/architecture.html#firehose

[issues]: https://github.com/bosh-prometheus/firehose_exporter/issues
[issues]: https://github.com/cloudfoundry/firehose_exporter/issues

[quantile]: https://en.wikipedia.org/wiki/Quantile

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ ./firehose_exporter <flags>
Using the standard `go install` (you must have [Go][golang] already installed in your local machine):

```bash
$ go install github.com/bosh-prometheus/firehose_exporter
$ go install github.com/cloudfoundry/firehose_exporter
$ firehose_exporter <flags>
```

Expand All @@ -39,7 +39,7 @@ $ docker run -p 9186:9186 boshprometheus/firehose-exporter <flags>
The exporter can be deployed to an already existing [Cloud Foundry][cloudfoundry] environment:

```bash
$ git clone https://github.com/bosh-prometheus/firehose_exporter.git
$ git clone https://github.com/cloudfoundry/firehose_exporter.git
$ cd firehose_exporter
```

Expand Down Expand Up @@ -110,24 +110,24 @@ The exporter returns additionally the following internal metrics:

## Contributing

Refer to [CONTRIBUTING.md](https://github.com/bosh-prometheus/firehose_exporter/blob/master/CONTRIBUTING.md).
Refer to [CONTRIBUTING.md](https://github.com/cloudfoundry/firehose_exporter/blob/master/CONTRIBUTING.md).

## License

Apache License 2.0, see [LICENSE](https://github.com/bosh-prometheus/firehose_exporter/blob/master/LICENSE).
Apache License 2.0, see [LICENSE](https://github.com/cloudfoundry/firehose_exporter/blob/master/LICENSE).

[cloudfoundry]: https://www.cloudfoundry.org/

[cfmetrics]: https://docs.cloudfoundry.org/loggregator/all_metrics.html

[faq]: https://github.com/bosh-prometheus/firehose_exporter/blob/master/FAQ.md
[faq]: https://github.com/cloudfoundry/firehose_exporter/blob/master/FAQ.md

[firehose]: https://docs.cloudfoundry.org/loggregator/architecture.html#firehose

[golang]: https://golang.org/

[manifest]: https://github.com/bosh-prometheus/firehose_exporter/blob/master/manifest.yml
[manifest]: https://github.com/cloudfoundry/firehose_exporter/blob/master/manifest.yml

[prometheus]: https://prometheus.io/

[prometheus-boshrelease]: https://github.com/bosh-prometheus/prometheus-boshrelease
[prometheus-boshrelease]: https://github.com/cloudfoundry/prometheus-boshrelease
2 changes: 1 addition & 1 deletion collectors/raw_metrics_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"time"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/gogo/protobuf/proto"
"github.com/prometheus/client_golang/prometheus"
dto "github.com/prometheus/client_model/go"
Expand Down
8 changes: 4 additions & 4 deletions collectors/raw_metrics_collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"net/http/httptest"
"time"

"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/testing"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/testing"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"

"github.com/bosh-prometheus/firehose_exporter/collectors"
"github.com/cloudfoundry/firehose_exporter/collectors"
)

var _ = ginkgo.Describe("RawMetricsCollector", func() {
Expand Down
8 changes: 4 additions & 4 deletions firehose_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (

"code.cloudfoundry.org/go-loggregator/v8"
"github.com/alecthomas/kingpin/v2"
"github.com/bosh-prometheus/firehose_exporter/collectors"
"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/nozzle"
"github.com/cloudfoundry/firehose_exporter/collectors"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/nozzle"
"github.com/prometheus/common/version"
log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/bosh-prometheus/firehose_exporter
module github.com/cloudfoundry/firehose_exporter

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ applications:
- name: firehose-exporter
buildpack: go_buildpack
env:
GOPACKAGENAME: github.com/bosh-prometheus/firehose_exporter
GOPACKAGENAME: github.com/cloudfoundry/firehose_exporter
FIREHOSE_EXPORTER_LOGGING_URL: "RLP url"
FIREHOSE_EXPORTER_METRICS_ENVIRONMENT: "Environment label to be attached to metrics"
4 changes: 2 additions & 2 deletions metricmaker/compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package metricmaker
import (
"strings"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/utils"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/utils"
dto "github.com/prometheus/client_model/go"
)

Expand Down
2 changes: 1 addition & 1 deletion metricmaker/compat_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package metricmaker_test

import (
"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
)
Expand Down
6 changes: 3 additions & 3 deletions metricmaker/converters.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"sort"
"strings"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/bosh-prometheus/firehose_exporter/utils"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/utils"
"github.com/gogo/protobuf/proto"
dto "github.com/prometheus/client_model/go"
)
Expand Down
4 changes: 2 additions & 2 deletions metricmaker/converters_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package metricmaker_test

import (
"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
)
Expand Down
4 changes: 2 additions & 2 deletions metricmaker/metricmaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"

"code.cloudfoundry.org/go-loggregator/v8/rpc/loggregator_v2"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/gogo/protobuf/proto"
dto "github.com/prometheus/client_model/go"
)
Expand Down
4 changes: 2 additions & 2 deletions metricmaker/metricmaker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package metricmaker_test

import (
"code.cloudfoundry.org/go-loggregator/v8/rpc/loggregator_v2"
"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
)
Expand Down
4 changes: 2 additions & 2 deletions metrics/raw_metric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package metrics_test
import (
"time"

"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/gogo/protobuf/proto"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
dto "github.com/prometheus/client_model/go"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/metrics"
)

var _ = ginkgo.Describe("RawMetric", func() {
Expand Down
10 changes: 5 additions & 5 deletions nozzle/gauge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package nozzle_test
import (
"time"

"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/nozzle"
"github.com/bosh-prometheus/firehose_exporter/testing"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/nozzle"
"github.com/cloudfoundry/firehose_exporter/testing"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/gogo/protobuf/proto"
dto "github.com/prometheus/client_model/go"

Expand Down
4 changes: 2 additions & 2 deletions nozzle/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package nozzle_test
import (
"time"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"

"github.com/bosh-prometheus/firehose_exporter/nozzle"
"github.com/cloudfoundry/firehose_exporter/nozzle"
)

var _ = ginkgo.Describe("collect nozzle metrics", func() {
Expand Down
8 changes: 4 additions & 4 deletions nozzle/nozzle.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"code.cloudfoundry.org/go-diodes"
"code.cloudfoundry.org/go-loggregator/v8"
"code.cloudfoundry.org/go-loggregator/v8/rpc/loggregator_v2"
"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/nozzle/rollup"
"github.com/bosh-prometheus/firehose_exporter/utils"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/nozzle/rollup"
"github.com/cloudfoundry/firehose_exporter/utils"
dto "github.com/prometheus/client_model/go"
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
Expand Down
2 changes: 1 addition & 1 deletion nozzle/nozzle_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"code.cloudfoundry.org/go-loggregator/v8"
"code.cloudfoundry.org/go-loggregator/v8/rpc/loggregator_v2"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
)
Expand Down
10 changes: 5 additions & 5 deletions nozzle/nozzle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ import (
"time"

"code.cloudfoundry.org/go-loggregator/v8/rpc/loggregator_v2"
"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/testing"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/testing"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/gogo/protobuf/proto"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
dto "github.com/prometheus/client_model/go"

"github.com/bosh-prometheus/firehose_exporter/nozzle"
"github.com/cloudfoundry/firehose_exporter/nozzle"
)

var _ = ginkgo.Describe("Nozzle", func() {
Expand Down
6 changes: 3 additions & 3 deletions nozzle/rollup/counter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"sync"
"time"

"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/gogo/protobuf/proto"
)

Expand Down
4 changes: 2 additions & 2 deletions nozzle/rollup/counter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package rollup_test
import (
"time"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/nozzle/rollup"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/nozzle/rollup"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
)
Expand Down
6 changes: 3 additions & 3 deletions nozzle/rollup/histogram.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"sync"
"time"

"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/gogo/protobuf/proto"
"github.com/prometheus/client_golang/prometheus"
dto "github.com/prometheus/client_model/go"
Expand Down
6 changes: 3 additions & 3 deletions nozzle/rollup/histogram_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"time"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/nozzle/rollup"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/nozzle/rollup"
"github.com/cloudfoundry/firehose_exporter/transform"
dto "github.com/prometheus/client_model/go"

"github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion nozzle/rollup/rollup.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rollup
import (
"strings"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/metrics"
log "github.com/sirupsen/logrus"
)

Expand Down
6 changes: 3 additions & 3 deletions nozzle/rollup/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"sync"
"time"

"github.com/bosh-prometheus/firehose_exporter/metricmaker"
"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metricmaker"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/transform"
"github.com/gogo/protobuf/proto"
"github.com/prometheus/client_golang/prometheus"
dto "github.com/prometheus/client_model/go"
Expand Down
6 changes: 3 additions & 3 deletions nozzle/rollup/summary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"time"

"github.com/bosh-prometheus/firehose_exporter/metrics"
"github.com/bosh-prometheus/firehose_exporter/nozzle/rollup"
"github.com/bosh-prometheus/firehose_exporter/transform"
"github.com/cloudfoundry/firehose_exporter/metrics"
"github.com/cloudfoundry/firehose_exporter/nozzle/rollup"
"github.com/cloudfoundry/firehose_exporter/transform"
dto "github.com/prometheus/client_model/go"

"github.com/onsi/ginkgo"
Expand Down
Loading

0 comments on commit 164ba1d

Please sign in to comment.