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

K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM doesn't generate histogram #108

Closed
boniek83 opened this issue Feb 27, 2023 · 2 comments
Closed

Comments

@boniek83
Copy link

When K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM is set to true no histogram is generated at all:
https://imgur.com/a/HRes6iz

I'm using k6-operator with following docker image:
ghcr.io/grafana/operator:latest-runner (at time of my testing it was:
ghcr.io/grafana/operator@sha256:3f33890b2c94f55d8d886ee184dde69025dc2357970b63f0f837a4659b812aa4)
and this is crd config:

apiVersion: k6.io/v1alpha1
kind: K6
metadata:
  name: k6-test
spec:
  parallelism: 4
  script:
    configMap:
      name: k6-test
      file: test.js
  arguments: --out experimental-prometheus-rw --tag testid=k6-test
  runner:
    env:
      - name: K6_PROMETHEUS_RW_SERVER_URL
        value: http://mimir-gateway.monitoring.svc.cluster.local/api/v1/push
      - name: K6_PROMETHEUS_RW_PUSH_INTERVAL
        value: 1s
      - name: K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM
        value: 'true'
@codebien
Copy link
Contributor

Hi @boniek83,
are you using Mimir? Mimir doesn't yet support the native histogram. Can you clarify why do you expect it should work?

@boniek83
Copy link
Author

I expected that Mimir supports native histograms already. I was mistaken. Thanks!

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

2 participants