Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jmx-metrics servicemonitor has wrong path #1476

Closed
1 task done
patsevanton opened this issue Sep 24, 2024 · 1 comment
Closed
1 task done

jmx-metrics servicemonitor has wrong path #1476

patsevanton opened this issue Sep 24, 2024 · 1 comment

Comments

@patsevanton
Copy link
Contributor

Issue submitter TODO list

  • I've searched for an already existing issues here

Describe the bug (actual behavior)

  • prometheus-operator will pick up the new service
  • target reports as DOWN in prometheus with error expected a valid start token, got "<" ("INVALID") while parsing: "<"

Expected behavior

prometheus being able to scrape metrics

values.yaml

user:
  password: "xxxxxxxxxxx"
  create: true
  email: [email protected]
system:
  url: "http://sentry.apatsev.org.ru"
hooks:
  activeDeadlineSeconds: 600
ingress:
  enabled: true
  hostname: sentry.apatsev.org.ru
  ingressClassName: "nginx"
  regexPathStyle: nginx
  annotations:
    nginx.ingress.kubernetes.io/proxy-body-size: 200m
    # https://github.com/getsentry/self-hosted/issues/1927
    nginx.ingress.kubernetes.io/proxy-buffers-number: "16"
    nginx.ingress.kubernetes.io/proxy-buffer-size: "32k"
symbolicator:
  enabled: true
postgresql:
  primary:
    extraEnvVars:
      - name: POSTGRESQL_MAX_CONNECTIONS
        value: "400"
kafka:
  provisioning:
    replicationFactor: 3
  heapOpts: -Xmx4096m -Xms4096m
  global:
    storageClass: yc-network-ssd
  controller:
    persistence:
      size: 100Gi
    logPersistence:
      size: 100Gi
    resourcesPreset: large
  broker:
    persistence:
      size: 100Gi
    logPersistence:
      size: 100Gi
    resourcesPreset: large
  metrics:
    enabled: true
    jmx:
      enabled: true
    serviceMonitor:
      enabled: true
      path: /metrics
      labels:
        release: prometheus

Helm chart version

v25.9.0

Steps to reproduce

helm install sentry -n test sentry/sentry --version 25.9.0  -f values-sentry-local.yaml --wait --timeout=1000s

Screenshots

No response

Logs

expected a valid start token, got "<" ("INVALID") while parsing: "<"

Additional context

Kafka issue bitnami/charts#27546
Kafka fix bitnami/charts#27562

@patsevanton
Copy link
Contributor Author

Fix by #1477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant