hi all i'm scraping my metrics using the otel and ...
# support
a
hi all i'm scraping my metrics using the otel and sending them to the signoz in another cluster, but I'm facing a really hard time querying the metrics that is my otel config
Copy code
receivers:
  fluentforward:
    endpoint: 0.0.0.0:24224
  hostmetrics:
    collection_interval: 30s
    scrapers:
      cpu: {}
      disk: {}
      filesystem: {}
      load: {}
      memory: {}
      network: {}
prometheus:
    config:
      scrape_configs:
      - job_name: kubernetes-service-endpoints-dev
        kubernetes_sd_configs:
        - role: endpoints
        relabel_configs:
        - action: labelmap
          regex: __meta_kubernetes_service_label_(.+)
        - action: replace
          source_labels:
          - __meta_kubernetes_namespace
          target_label: kubernetes_namespace
        - action: replace
          source_labels:
          - __meta_kubernetes_service_name
          target_label: kubernetes_name
        - action: keep
          regex: .+
          source_labels:
          - __address__
        - action: keep
          regex: Pod;metrics
          separator: ;
          source_labels:
          - __meta_kubernetes_endpointslice_address_target_kind
          - __meta_kubernetes_endpointslice_port_name
service:
  pipelines:
    metrics:
      exporters:
      - logging
      - otlp/metrics
      processors:
      - memory_limiter
      - batch
      receivers:
      - prometheus
when i try to build some dashboard using the promql, if i type up for example i can receive something like that
Copy code
up{__temporality__="Unspecified",job_name="generic-collector",k8s_container_name="clickhouse",k8s_namespace_name="monitoring",k8s_node_name="xxxx-36537629-vmss00001w",k8s_pod_name="chi-xxxx-signoz-clickhouse-cluster-0-0-0",k8s_pod_phase="Running",k8s_pod_ready="true",k8s_pod_uid="971b1982-99df-4bb4-a5b4-3a9b51b81d8f",signoz_k8s_component="clickhouse",signoz_k8s_instance="bmcl-signoz",signoz_k8s_name="clickhouse"}
but i cannot query for any of this labels, can someone point me to some good documentation?
s
What do you mean you can't query any of the labels? You just need to follow PromQL syntax.
a
idk, i was not able to use the proper syntax, now i can use some, i'm quite frustrated because i'm not able to query something like that
Copy code
{__name__!=""}
to list all the metrics in signoz