diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f84f648a..afb1155b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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/cf_exporter/issues) +* by closing [issues](https://github.com/cloudfoundry/cf_exporter/issues) * by reviewing patches ## Submitting an Issue -We use the [GitHub issue tracker](https://github.com/bosh-prometheus/cf_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/cf_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 @@ -28,4 +28,4 @@ We use the [GitHub issue tracker](https://github.com/bosh-prometheus/cf_exporter ## Code of Conduct -Please note that this project is released with a [Contributor Code of Conduct](https://github.com/bosh-prometheus/cf_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/cf_exporter/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms. diff --git a/FAQ.md b/FAQ.md index 2c963e60..d49d4652 100644 --- a/FAQ.md +++ b/FAQ.md @@ -67,8 +67,8 @@ No, this exporter only supports targetting a single [Cloud Foundry API][cf_api] We will be glad to address any questions not answered here. Please, just open a [new issue][issues]. [cf_api]: https://apidocs.cloudfoundry.org/ -[cf_exporter_metrics]: https://github.com/bosh-prometheus/cf_exporter#metrics +[cf_exporter_metrics]: https://github.com/cloudfoundry/cf_exporter#metrics [firehose]: https://docs.cloudfoundry.org/loggregator/architecture.html#firehose -[firehose_exporter]: https://github.com/bosh-prometheus/firehose_exporter -[issues]: https://github.com/bosh-prometheus/cf_exporter/issues +[firehose_exporter]: https://github.com/cloudfoundry/firehose_exporter +[issues]: https://github.com/cloudfoundry/cf_exporter/issues [read-only-cc]: https://www.starkandwayne.com/blog/cloud-controller-reporting-api-server/ \ No newline at end of file diff --git a/README.md b/README.md index a8d40085..df8b47ed 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# Cloud Foundry Prometheus Exporter ![Build Status](https://github.com/bosh-prometheus/cf_exporter/workflows/main.yml/badge.svg) +# Cloud Foundry Prometheus Exporter ![Build Status](https://github.com/cloudfoundry/cf_exporter/workflows/main.yml/badge.svg) A [Prometheus][prometheus] exporter for [Cloud Foundry][cloudfoundry] administrative information. Please refer to the [FAQ][faq] for general questions about this exporter. ## Architecture overview -![](https://cdn.rawgit.com/bosh-prometheus/cf_exporter/master/docs/architecture.svg) +![](https://cdn.rawgit.com/cloudfoundry/cf_exporter/master/docs/architecture.svg) ## Installation @@ -22,7 +22,7 @@ $ ./cf_exporter Using the standard `go install` (you must have [Go][golang] already installed in your local machine): ```bash -$ go install github.com/bosh-prometheus/cf_exporter +$ go install github.com/cloudfoundry/cf_exporter $ cf_exporter ``` @@ -39,7 +39,7 @@ $ docker run -p 9193:9193 boshprometheus/cf-exporter The exporter can be deployed to an already existing [Cloud Foundry][cloudfoundry] environment: ```bash -$ git clone https://github.com/bosh-prometheus/cf_exporter.git +$ git clone https://github.com/cloudfoundry/cf_exporter.git $ cd cf_exporter ``` @@ -326,7 +326,7 @@ Refer to the [contributing guidelines][contributing]. Apache License 2.0, see [LICENSE][license]. -[binaries]: https://github.com/bosh-prometheus/cf_exporter/releases +[binaries]: https://github.com/cloudfoundry/cf_exporter/releases [cf_api]: https://apidocs.cloudfoundry.org/ [cf_api_v3]: https://v3-apidocs.cloudfoundry.org/ [cloudfoundry]: https://www.cloudfoundry.org/ @@ -336,4 +336,4 @@ Apache License 2.0, see [LICENSE][license]. [license]: ./LICENSE [manifest]: ./packages/cf/manifest.yml [prometheus]: https://prometheus.io/ -[prometheus-boshrelease]: https://github.com/bosh-prometheus/prometheus-boshrelease +[prometheus-boshrelease]: https://github.com/cloudfoundry/prometheus-boshrelease diff --git a/collectors/applications.go b/collectors/applications.go index 49e43e48..887d8025 100644 --- a/collectors/applications.go +++ b/collectors/applications.go @@ -7,7 +7,7 @@ import ( "time" "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" ) diff --git a/collectors/buildpacks.go b/collectors/buildpacks.go index 41faa667..4158d94d 100644 --- a/collectors/buildpacks.go +++ b/collectors/buildpacks.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/collectors.go b/collectors/collectors.go index dc080efa..1c38ee56 100644 --- a/collectors/collectors.go +++ b/collectors/collectors.go @@ -1,9 +1,9 @@ package collectors import ( - "github.com/bosh-prometheus/cf_exporter/fetcher" - "github.com/bosh-prometheus/cf_exporter/filters" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/fetcher" + "github.com/cloudfoundry/cf_exporter/filters" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/domains.go b/collectors/domains.go index 2f480984..0010997e 100644 --- a/collectors/domains.go +++ b/collectors/domains.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/events.go b/collectors/events.go index 94abc4c1..9627eeb5 100644 --- a/collectors/events.go +++ b/collectors/events.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/isolation_segments.go b/collectors/isolation_segments.go index 7a834e78..3cab1fe7 100644 --- a/collectors/isolation_segments.go +++ b/collectors/isolation_segments.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/organizations.go b/collectors/organizations.go index f7aebac7..d4dd0920 100644 --- a/collectors/organizations.go +++ b/collectors/organizations.go @@ -6,7 +6,7 @@ import ( "time" "code.cloudfoundry.org/cli/resources" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" ) diff --git a/collectors/route_bindings.go b/collectors/route_bindings.go index 9634b8df..67a4cbd5 100644 --- a/collectors/route_bindings.go +++ b/collectors/route_bindings.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/routes.go b/collectors/routes.go index b809aab2..10b3c159 100644 --- a/collectors/routes.go +++ b/collectors/routes.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/security_groups.go b/collectors/security_groups.go index d4c5482b..29581f82 100644 --- a/collectors/security_groups.go +++ b/collectors/security_groups.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/service_bindings.go b/collectors/service_bindings.go index 7cff5076..e38be5ca 100644 --- a/collectors/service_bindings.go +++ b/collectors/service_bindings.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/service_instances.go b/collectors/service_instances.go index 77da92c0..7c743603 100644 --- a/collectors/service_instances.go +++ b/collectors/service_instances.go @@ -4,7 +4,7 @@ import ( "time" "code.cloudfoundry.org/cli/resources" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/service_plans.go b/collectors/service_plans.go index f7802b63..1366901c 100644 --- a/collectors/service_plans.go +++ b/collectors/service_plans.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/services.go b/collectors/services.go index 88da6d79..c19ee353 100644 --- a/collectors/services.go +++ b/collectors/services.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/spaces.go b/collectors/spaces.go index 616ca9a5..a28a1229 100644 --- a/collectors/spaces.go +++ b/collectors/spaces.go @@ -6,7 +6,7 @@ import ( "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant" "code.cloudfoundry.org/cli/resources" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" ) diff --git a/collectors/stacks.go b/collectors/stacks.go index 049d4915..a3925e95 100644 --- a/collectors/stacks.go +++ b/collectors/stacks.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/collectors/tasks.go b/collectors/tasks.go index 08f98ad1..6fd0b4a3 100644 --- a/collectors/tasks.go +++ b/collectors/tasks.go @@ -3,7 +3,7 @@ package collectors import ( "time" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" "github.com/prometheus/client_golang/prometheus" ) diff --git a/fetcher/fetcher.go b/fetcher/fetcher.go index f3cd5224..6f838744 100644 --- a/fetcher/fetcher.go +++ b/fetcher/fetcher.go @@ -5,8 +5,8 @@ import ( "time" "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3" - "github.com/bosh-prometheus/cf_exporter/filters" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/filters" + "github.com/cloudfoundry/cf_exporter/models" log "github.com/sirupsen/logrus" ) diff --git a/fetcher/fetcher_handlers.go b/fetcher/fetcher_handlers.go index e3430431..87f63657 100644 --- a/fetcher/fetcher_handlers.go +++ b/fetcher/fetcher_handlers.go @@ -6,8 +6,8 @@ import ( "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3" "code.cloudfoundry.org/cli/resources" - "github.com/bosh-prometheus/cf_exporter/filters" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/filters" + "github.com/cloudfoundry/cf_exporter/models" log "github.com/sirupsen/logrus" ) @@ -41,7 +41,7 @@ func (c *Fetcher) fetchOrgQuotas(session *SessionExt, entry *models.CFObjects) e // fetchSpaces // 1. silent fail because space may have been deleted between listing and -// summary fetching attempt. See bosh-prometheus/cf_exporter#85 +// summary fetching attempt. See cloudfoundry/cf_exporter#85 func (c *Fetcher) fetchSpaces(session *SessionExt, entry *models.CFObjects) error { spaces, _, _, err := session.V3().GetSpaces(LargeQuery) if err != nil { diff --git a/fetcher/fetcher_test.go b/fetcher/fetcher_test.go index 3d075947..7d2a8033 100644 --- a/fetcher/fetcher_test.go +++ b/fetcher/fetcher_test.go @@ -4,7 +4,7 @@ import ( "github.com/onsi/ginkgo" "github.com/onsi/gomega" - "github.com/bosh-prometheus/cf_exporter/filters" + "github.com/cloudfoundry/cf_exporter/filters" ) var _ = ginkgo.Describe("Fetcher", func() { diff --git a/fetcher/sessionext.go b/fetcher/sessionext.go index e91bd3c8..c3fd51de 100644 --- a/fetcher/sessionext.go +++ b/fetcher/sessionext.go @@ -6,8 +6,8 @@ import ( "net/http" "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3" - "github.com/bosh-prometheus/cf_exporter/models" clients "github.com/cloudfoundry-community/go-cf-clients-helper/v2" + "github.com/cloudfoundry/cf_exporter/models" log "github.com/sirupsen/logrus" ) diff --git a/fetcher/sessionext_test.go b/fetcher/sessionext_test.go index c7d031ca..b336f8e4 100644 --- a/fetcher/sessionext_test.go +++ b/fetcher/sessionext_test.go @@ -16,7 +16,7 @@ import ( "encoding/json" "net/http" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/models" ) const ( diff --git a/fetcher/worker.go b/fetcher/worker.go index 0640e004..ce9487e7 100644 --- a/fetcher/worker.go +++ b/fetcher/worker.go @@ -4,8 +4,8 @@ import ( "sync" "time" - "github.com/bosh-prometheus/cf_exporter/filters" - "github.com/bosh-prometheus/cf_exporter/models" + "github.com/cloudfoundry/cf_exporter/filters" + "github.com/cloudfoundry/cf_exporter/models" log "github.com/sirupsen/logrus" ) diff --git a/filters/filters_test.go b/filters/filters_test.go index 26b2a276..c5107cc4 100644 --- a/filters/filters_test.go +++ b/filters/filters_test.go @@ -4,7 +4,7 @@ import ( "github.com/onsi/ginkgo" "github.com/onsi/gomega" - "github.com/bosh-prometheus/cf_exporter/filters" + "github.com/cloudfoundry/cf_exporter/filters" ) var _ = ginkgo.Describe("Filters", func() { diff --git a/go.mod b/go.mod index 534a6608..557e9541 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/bosh-prometheus/cf_exporter +module github.com/cloudfoundry/cf_exporter go 1.21 diff --git a/main.go b/main.go index 33db1c4e..ee9ca358 100644 --- a/main.go +++ b/main.go @@ -6,9 +6,9 @@ import ( "strings" "time" - "github.com/bosh-prometheus/cf_exporter/collectors" - "github.com/bosh-prometheus/cf_exporter/fetcher" - "github.com/bosh-prometheus/cf_exporter/filters" + "github.com/cloudfoundry/cf_exporter/collectors" + "github.com/cloudfoundry/cf_exporter/fetcher" + "github.com/cloudfoundry/cf_exporter/filters" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" "github.com/prometheus/common/version" diff --git a/packages/cf/manifest.yml b/packages/cf/manifest.yml index babd7d80..92ac6e3c 100644 --- a/packages/cf/manifest.yml +++ b/packages/cf/manifest.yml @@ -3,7 +3,7 @@ applications: - name: cf-exporter buildpack: go_buildpack env: - GOPACKAGENAME: github.com/bosh-prometheus/cf_exporter + GOPACKAGENAME: github.com/cloudfoundry/cf_exporter CF_EXPORTER_CF_API_URL: "Your Cloud Foundry API URL" CF_EXPORTER_CF_USERNAME: "Your Cloud Foundry Username" CF_EXPORTER_CF_PASSWORD: "Your Cloud Foundry Password"