Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
global:
  orgId: "..."
  # ...
  pushgateway:
    enabled: true
  # Needed to scrape and send metrics to Kfuse
  cloud-exporter:
    enabled: true
  # ...  

After updating the values.yaml, you can install/upgrade your Kfuse release using the following command:

...

  • Push a single sample into the group identified by {job="some_job"}:

    Code Block
      echo "some_metric 3.14" | curl --data-binary @- httphttps://pushgateway.example.org:9091<KFUSE-DNS>/metrics/job/some_job
    

    Since no type information has been provided, some_metric will be of type untyped.

  • Push something more complex into the group identified by {job="some_job",instance="some_instance"}:

    Code Block
      cat <<EOF | curl --data-binary @- httphttps://pushgateway.example.org:9091<KFUSE-DNS>/metrics/job/some_job/instance/some_instance
      # TYPE some_metric counter
      some_metric{label="val1"} 42
      # TYPE another_metric gauge
      # HELP another_metric Just an example.
      another_metric 2398.283
      EOF
    

    Note how type information and help strings are provided. Those lines are optional, but strongly encouraged for anything more complex.

...