Skip to content

Commit

Permalink
feat: add OFREP and update dependencies (#280)
Browse files Browse the repository at this point in the history
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->

## This PR
<!-- add the description of the PR here -->

- Adds OFREP to playground and updates packages that are straight
forward to update

---------

Signed-off-by: Lukas Reining <[email protected]>
Co-authored-by: Michael Beemer <[email protected]>
Co-authored-by: Thomas Poignant <[email protected]>
  • Loading branch information
3 people authored Apr 16, 2024
1 parent 4c41fb9 commit e25a169
Show file tree
Hide file tree
Showing 8 changed files with 3,972 additions and 3,596 deletions.
9 changes: 9 additions & 0 deletions config/go-feature-flag/flags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ hex-color:
default: 2f5230
percentage: 100

# Controls whether the remote fib service is used
# - true
# - false
use-remote-fib-service:
true: true
false: false
default: true
percentage: 100

# Must be a valid algorithm name
# - recurive
# - memo
Expand Down
16 changes: 9 additions & 7 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ services:
- OTEL_EXPORTER_JAEGER_AGENT_HOST=jaeger
- OTEL_EXPORTER_JAEGER_AGENT_PORT=6832
- OTEL_SERVICE_NAME=fibonacci-service
- GO_FEATURE_FLAG_URL=http://go-feature-flag:1031
- FIB_SERVICE_USER
- FIB_SERVICE_PASS
# Provider values come from the .env
Expand All @@ -71,15 +72,15 @@ services:
- CLOUDBEES_APP_KEY

jaeger:
image: jaegertracing/all-in-one:1.53.0
image: jaegertracing/all-in-one:1.56
expose:
- '6832/udp'
- '4317'
ports:
- '16686:16686'

otel-collector:
image: otel/opentelemetry-collector-contrib:0.85.0
image: otel/opentelemetry-collector-contrib:0.98.0
restart: always
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
Expand All @@ -95,15 +96,15 @@ services:

prometheus:
container_name: prometheus
image: prom/prometheus:v2.49.1
image: prom/prometheus:v2.51.1
restart: always
volumes:
- ./config/prometheus/prometheus.yaml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"

flagd:
image: ghcr.io/open-feature/flagd:v0.8.2
image: ghcr.io/open-feature/flagd:v0.10.0
command:
- start
- --cors-origin
Expand All @@ -118,13 +119,14 @@ services:
- ./config/flagd/flags.json:/etc/flagd/flags.json
ports:
- '8013:8013'
- '8016:8016'

go-feature-flag:
image: thomaspoignant/go-feature-flag-relay-proxy:v1.21.0
image: thomaspoignant/go-feature-flag:v1.25.1
volumes:
- ./config/go-feature-flag:/goff/
expose:
- 1031
ports:
- "1031:1031"

volumes:
flagd-flags:
Loading

0 comments on commit e25a169

Please sign in to comment.