Skip to content

[BUG] flagd 0.12.9/8 too many arguments in call to m.cfg.MetricRecorder.HTTPAttributes #1834

Open

Description

@gnesher

Observed behavior

While trying to upgrade from 0.12.1 to 0.12.9 we ran into the following error:

feature/flagd/flagd/pkg/service/middleware/metrics
../.go-cache/pkg/mod/github.com/open-feature/flagd/flagd@v0.12.9/pkg/service/middleware/metrics/http_metrics.go:71:3: too many arguments in call to m.cfg.MetricRecorder.HTTPAttributes
have (string, string, string, string, string)
want (string, string, string, string)
make[1]: *** [Makefile:312: install_flagd] Error 1
make: *** [Makefile:1096: build_cnm_go] Error 2

seems to be an intertnal mismatch between flagd and core packages unless I'm missing something

Expected Behavior

No response

Steps to reproduce

No response

Activity

  1. added
    bug
    Needs Triage
    on Dec 8, 2025
  2. changed the title [-][BUG] flagd 0.12.9 too many arguments in call to m.cfg.MetricRecorder.HTTPAttributes[/-] [+][BUG] flagd 0.12.9/8 too many arguments in call to m.cfg.MetricRecorder.HTTPAttributes[/+] on Dec 8, 2025
  3. toddbaert commented on Dec 24, 2025

    @toddbaert
    Member

    @gnesher Hey! How are you installing flagd. Are you doing a go install? Or are you using the published binary/docker image?

  4. gnesher commented on Dec 24, 2025

    @gnesher
    Author

    @gnesher Hey! How are you installing flagd. Are you doing a go install? Or are you using the published binary/docker image?

    Using the Go installer, we've settled for 0.12.7 which had the security patches that we needed so there's no urgency, I'm just not sure what I'm missing

  5. toddbaert commented on Jan 17, 2026

    @toddbaert
    Member

    If you mean the "go install" command, this isn't currently supported. Unfortunately due to issues with go workspaces, this becomes tricky. I'd like to make it work, but we're haven't yet built the required automation.

    Our recommendations for installation are in our docs. We recommend you either install the official binaries attached to each release: https://flagd.dev/installation/#docker

  6. gnesher commented on Jan 21, 2026

    @gnesher
    Author

    If you mean the "go install" command, this isn't currently supported. Unfortunately due to issues with go workspaces, this becomes tricky. I'd like to make it work, but we're haven't yet built the required automation.

    Our recommendations for installation are in our docs. We recommend you either install the official binaries attached to each release: https://flagd.dev/installation/#docker

    That's a shame, limiting the installation to docker/brew limits some setups - what's missing to get the Go installer working? I'd be happy to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Triagebug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions