Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
beeme1mr authored Aug 20, 2024
2 parents b8b90f7 + abb5ca3 commit df3f9bc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions docs/reference/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,20 @@ Given below is the current implementation overview of flagd telemetry internals,

## Metrics

flagd expose following metrics,
flagd exposes the following metrics:

- `http.server.duration`
- `http.server.response.size`
- `http.server.active_requests`
- `feature_flag.flagd.impression`
- `feature_flag.flagd.evaluation.reason`

> Please note that metric names may vary based on the consuming monitoring tool naming requirements.
> For example, the transformation of OTLP metrics to Prometheus is described [here](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/prometheus_and_openmetrics.md#otlp-metric-points-to-prometheus).
## Traces

flagd expose following traces,
flagd creates the following spans as part of a trace:

- `flagEvaluationService(resolveX)` - SpanKind server
- `jsonEvaluator(resolveX)` - SpanKind internal
Expand Down
2 changes: 1 addition & 1 deletion flagd-proxy/build.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Main Dockerfile for flagd builds
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS builder
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS builder

WORKDIR /src

Expand Down
2 changes: 1 addition & 1 deletion flagd/build.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Main Dockerfile for flagd builds
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS builder
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS builder

WORKDIR /src

Expand Down
2 changes: 1 addition & 1 deletion flagd/profile.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dockerfile with pprof profiler
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS builder
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS builder

WORKDIR /src

Expand Down

0 comments on commit df3f9bc

Please sign in to comment.