Skip to content

Error when creating alerts in amtool via cli "amtool: error: invalid character 'C' looking for beginning of value" #4404

Open
@aned

Description

@aned
./amtool  alert add alertname="foo"  --alertmanager.url http://127.0.0.1:9093
amtool: error: invalid character 'C' looking for beginning of value

./amtool --alertmanager.url=http://127.0.0.1:9093 alert add foo
amtool: error: invalid character 'C' looking for beginning of value
./amtool --version
amtool, version 0.28.1 (branch: HEAD, revision: b2099eaa2c9ebc25edb26517cb9c732738e93910)
  build user:       root@fa3ca569dfe4
  build date:       20250307-15:05:18
  go version:       go1.23.7
  platform:         linux/amd64
  tags:             netgo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions