Title
h

Hassnat

02/03/2023, 5:56 PM
Hi, Team, Awesome work. I am setting up signoz where I don't like to get logs from cretin namespaces. There exists blacklist option, but it is not working. Below is my helm.values and chart.
signoz:
  global:
    clusterName: "my-cluster"
  k8s-infra:
    presets:
      logCollection:
        enabled: true
        blacklist:
          enabled: true
          signozLogs: false
          namespaces:
            - kube-system
            - mongodb-cluster
            - istio-system
            - kube-public
            - kube-node-lease
            - argocd
            - cert-manager
            - ingress-nginx
            - linkerd
            - linkerd-viz
            - external-dns
            - external-secrets
            - platform

  clickhouse:
    persistence:
      enabled: true
      size: 30Gi
  frontend:
    ingress:
      enabled: true
      className: "nginx"
      hosts:
        - host: <http://signoz.xyz.com|signoz.xyz.com>
          paths:
            - path: /
              pathType: ImplementationSpecific
              port: 3301
      tls:
        - secretName: int.xyz.com-tls
          hosts:
            - <http://signoz.xyz.com|signoz.xyz.com>
    nginxExtraConfig: |
      client_max_body_size 24M;
      large_client_header_buffers 8 16k;
  alertmanager:
    name: "alertmanager"
    replicaCount: 1

    service:
      type: ClusterIP
      port: 9093
    ingress:
      enabled: false
    resources:
      requests:
        cpu: 100m
        memory: 100Mi
    persistence:
      enabled: true
      accessModes:
        - ReadWriteOnce
      size: 1000Mi
and Chart.yaml
apiVersion: v2
appVersion: "1.0"
description: A Helm chart for Signoz
name: signoz
version: 0.0.1

dependencies:
  - name: signoz
    alias: signoz
    version: 0.10.2
    repository: <https://charts.signoz.io>
Is there any way to make it work? Thanks for your help and efforts. BR,
p

Pranay

02/03/2023, 5:59 PM
@Hassnat so you are also seeing logs from namespaces like kube-system?
h

Hassnat

02/03/2023, 6:01 PM
@Pranay Yes i do see from all above namespaces, including kube-system
p

Pranay

02/03/2023, 6:10 PM
So, one expt. you can try is: if you do
logsCollection:
enabled : false
Does it stop sending logs? https://signoz.io/docs/userguide/collect_kubernetes_pod_logs/#steps-to-disable-automatic-pod-logs-collection
h

Hassnat

02/03/2023, 7:17 PM
@Pranay No i still see logs, although i re-installed chart
FYI, I am deploying via ArgoCD
p

Pranay

02/04/2023, 4:45 AM
@Prashant Shahi Do you have any insights here on what could be going wrong?
p

Prashant Shahi

02/05/2023, 1:59 PM
Hi @Hassnat 👋 I see you are using SigNoz chart as dependency to your own. Any particular reason for that?
h

Hassnat

02/05/2023, 5:17 PM
Hi @Prashant Shahi , i am using argocd gitops. As a minimal application here is the app which is responsible for installing signoz. its a standard way i believe. here is my app defination and above in chat are my Chart, and values.yaml
apiVersion: <http://argoproj.io/v1alpha1|argoproj.io/v1alpha1>
kind: Application
metadata:
  name: signoz
  namespace: argocd
  finalizers:
    - <http://resources-finalizer.argocd.argoproj.io|resources-finalizer.argocd.argoproj.io>
spec:
  destination:
    namespace: platform
    server: <https://kubernetes.default.svc>
  project: monitoring
  source:
    path: kustomizations/cluster-apps/monitoring/signoz/helm
    repoURL: <https://gitlab.com/my-user/argocd/app-of-apps.git>
    targetRevision: main
    helm:
      valueFiles:
        - values.yaml
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
Hi @Prashant Shahi , Any tip? Thanks
p

Prashant Shahi

02/07/2023, 6:00 AM
@Hassnat I will be looking to running SigNoz on ArgoCD. Will get back to you.
h

Hassnat

02/11/2023, 9:00 AM
@Prashant Shahi Good day. Have you had any chance to look into it. Thanks
@Prashant Shahi Thank you for great product. Any updates?