Skip to content

Commit

Permalink
Removed support for elastic search 2
Browse files Browse the repository at this point in the history
Signed-off-by: Łukasz Gryglicki <[email protected]>
  • Loading branch information
lukaszgryglicki committed May 24, 2024
1 parent 4538e42 commit 2026275
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 67 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ before_install:
- go get -u golang.org/x/tools/cmd/goimports
- go get -u github.com/jgautheron/usedexports
- go get -u github.com/kisielk/errcheck
- go get -u github.com/olivere/elastic
- go get -u github.com/cncf/devstatscode
- go get -u gopkg.in/yaml.v2
- go get -u github.com/google/go-github/github
Expand Down
1 change: 0 additions & 1 deletion INSTALL_AUTO_DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Prerequisites:
- [errcheck](https://github.com/kisielk/errcheck): `go get github.com/kisielk/errcheck`
- [cors](https://github.com/rs/cors): `go get -u github.com/rs/cors`
- [jsoniter](https://github.com/json-iterator/go): `go get -u github.com/json-iterator/go`
- If you want to use ElasticSearch output: [elastic](https://github.com/olivere/elastic): `go get -u github.com/olivere/elastic`.
2. Go to `$GOPATH/src/github.com/cncf` and clone devstats and devstatscode there:
- `git clone https://github.com/cncf/devstats.git`.
- `git clone https://github.com/cncf/devstatscode.git`.
Expand Down
1 change: 0 additions & 1 deletion INSTALL_FREEBSD.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Prerequisites:
- [errcheck](https://github.com/kisielk/errcheck): `go get github.com/kisielk/errcheck`
- [cors](https://github.com/rs/cors): `go get -u github.com/rs/cors`
- [jsoniter](https://github.com/json-iterator/go): `go get -u github.com/json-iterator/go`
- If you want to use ElasticSearch output: [elastic](https://github.com/olivere/elastic): `go get -u github.com/olivere/elastic`.
- Go Postgres client: install with: `go get github.com/lib/pq`
- Go unicode text transform tools: install with: `go get golang.org/x/text/transform` and `go get golang.org/x/text/unicode/norm`
- Go YAML parser library: install with: `go get gopkg.in/yaml.v2`
Expand Down
1 change: 0 additions & 1 deletion INSTALL_MAC.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Prerequisites:
- [errcheck](https://github.com/kisielk/errcheck): `go get github.com/kisielk/errcheck`
- [cors](https://github.com/rs/cors): `go get -u github.com/rs/cors`
- [jsoniter](https://github.com/json-iterator/go): `go get -u github.com/json-iterator/go`
- If you want to use ElasticSearch output: [elastic](https://github.com/olivere/elastic): `go get -u github.com/olivere/elastic`.
- Go Postgres client: install with: `go get github.com/lib/pq`
- Go unicode text transform tools: install with: `go get golang.org/x/text/transform` and `go get golang.org/x/text/unicode/norm`
- Go YAML parser library: install with: `go get gopkg.in/yaml.v2`
Expand Down
1 change: 0 additions & 1 deletion INSTALL_UBUNTU16.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Prerequisites:
- [errcheck](https://github.com/kisielk/errcheck): `go get github.com/kisielk/errcheck`
- [cors](https://github.com/rs/cors): `go get -u github.com/rs/cors`
- [jsoniter](https://github.com/json-iterator/go): `go get -u github.com/json-iterator/go`
- If you want to use ElasticSearch output: [elastic](https://github.com/olivere/elastic): `go get -u github.com/olivere/elastic`.
- Go Postgres client: install with: `go get github.com/lib/pq`
- Go unicode text transform tools: install with: `go get golang.org/x/text/transform` and `go get golang.org/x/text/unicode/norm`
- Go YAML parser library: install with: `go get gopkg.in/yaml.v2`
Expand Down
1 change: 0 additions & 1 deletion INSTALL_UBUNTU17.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Prerequisites:
- [errcheck](https://github.com/kisielk/errcheck): `go get github.com/kisielk/errcheck`
- [cors](https://github.com/rs/cors): `go get -u github.com/rs/cors`
- [jsoniter](https://github.com/json-iterator/go): `go get -u github.com/json-iterator/go`
- If you want to use ElasticSearch output: [elastic](https://github.com/olivere/elastic): `go get -u github.com/olivere/elastic`.
- Go Postgres client: install with: `go get github.com/lib/pq`
- Go unicode text transform tools: install with: `go get golang.org/x/text/transform` and `go get golang.org/x/text/unicode/norm`
- Go YAML parser library: install with: `go get gopkg.in/yaml.v2`
Expand Down
1 change: 0 additions & 1 deletion INSTALL_UBUNTU18.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Prerequisites:
- [errcheck](https://github.com/kisielk/errcheck): `go get -u github.com/kisielk/errcheck`
- [cors](https://github.com/rs/cors): `go get -u github.com/rs/cors`
- [jsoniter](https://github.com/json-iterator/go): `go get -u github.com/json-iterator/go`
- If you want to use ElasticSearch output: [elastic](https://github.com/olivere/elastic): `go get -u github.com/olivere/elastic`.
2. Go to `$GOPATH/src/github.com/cncf` and clone devstats and devstatscode there:
- `git clone https://github.com/cncf/devstats.git`.
- `git clone https://github.com/cncf/devstatscode.git`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please see [example Helm chart](https://github.com/cncf/devstats-helm-example) f

Please see [Helm chart](https://github.com/cncf/devstats-helm) for a full Helm deployment.

Please see [LF Helm chart](https://github.com/cncf/devstats-helm-lf) for the LF Helm deployment (it is a data deployment, has no Grafana, and uses ElasticSearch in addition to Postgres to store data).
Please see [LF Helm chart](https://github.com/cncf/devstats-helm-lf) for the LF Helm deployment (it is a data deployment, has no Grafana).

Please see [GraphQL Helm chart](https://github.com/cncf/devstats-helm-graphql) for GraphQL foundation DevStats deployment.

Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ require (
github.com/mailru/easyjson v0.7.7 // indirect
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/olivere/elastic v6.2.37+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
golang.org/x/crypto v0.10.0 // indirect
golang.org/x/net v0.11.0 // indirect
Expand Down
6 changes: 0 additions & 6 deletions metrics/all/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ tags:
sql: cumulative_periods
series_name: cumperiods
name_tag: cumperiod_name
- name: Elasticsearch periods
sql: es_periods_tags
series_name: es_periods
name_tag: devstats_period
other_tags:
es_period: [es_period_name, f]
- name: Licenses
sql: licenses_tags
series_name: licenses
Expand Down
6 changes: 0 additions & 6 deletions metrics/fluentd/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ tags:
sql: cumulative_periods
series_name: cumperiods
name_tag: cumperiod_name
- name: Elasticsearch periods
sql: es_periods_tags
series_name: es_periods
name_tag: devstats_period
other_tags:
es_period: [es_period_name, f]
- name: Licenses
sql: licenses_tags
series_name: licenses
Expand Down
6 changes: 0 additions & 6 deletions metrics/jenkins/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ tags:
sql: cumulative_periods
series_name: cumperiods
name_tag: cumperiod_name
- name: Elasticsearch periods
sql: es_periods_tags
series_name: es_periods
name_tag: devstats_period
other_tags:
es_period: [es_period_name, f]
- name: Licenses
sql: licenses_tags
series_name: licenses
Expand Down
6 changes: 0 additions & 6 deletions metrics/kubernetes/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ tags:
sql: cumulative_periods
series_name: cumperiods
name_tag: cumperiod_name
- name: Elasticsearch periods
sql: es_periods_tags
series_name: es_periods
name_tag: devstats_period
other_tags:
es_period: [es_period_name, f]
- name: Licenses
sql: licenses_tags
series_name: licenses
Expand Down
6 changes: 0 additions & 6 deletions metrics/shared/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ tags:
sql: cumulative_periods
series_name: cumperiods
name_tag: cumperiod_name
- name: Elasticsearch periods
sql: es_periods_tags
series_name: es_periods
name_tag: devstats_period
other_tags:
es_period: [es_period_name, f]
- name: Licenses
sql: licenses_tags
series_name: licenses
Expand Down
6 changes: 0 additions & 6 deletions metrics/tinkerbell/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ tags:
sql: cumulative_periods
series_name: cumperiods
name_tag: cumperiod_name
- name: Elasticsearch periods
sql: es_periods_tags
series_name: es_periods
name_tag: devstats_period
other_tags:
es_period: [es_period_name, f]
- name: Licenses
sql: licenses_tags
series_name: licenses
Expand Down
19 changes: 0 additions & 19 deletions util_sh/gha2es.sh

This file was deleted.

3 changes: 0 additions & 3 deletions util_sh/gha2es_inside_container.sh

This file was deleted.

0 comments on commit 2026275

Please sign in to comment.