profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/hjet/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

grafana/mixin-metrics 3

Extract prometheus metrics from dashboard JSON and rules YAML

hjet/agent 0

Prometheus Metrics, Loki Logs, and Tempo Traces, optimized for Grafana Cloud.

hjet/kubernetes-mixin 0

A set of Grafana dashboards and Prometheus alerts for Kubernetes.

hjet/sdk 0

Library for using Grafana' structures in Go programs and client for Grafana REST API.

pull request commentgrafana/agent

Update for `## Deploy GrafanaAgent` clusterrole

cc @hjet, this probably requires an update of the permissions used in the helm chart

Thanks! Will update

aengusrooneygrafana

comment created time in 3 days

startedopsgenie/kubernetes-event-exporter

started time in 3 days

Pull request review commentgrafana/agent

Rename Tempo -> Traces

 Simply copy and paste the following lines in your terminal (requires `envsubst` ``` NAMESPACE="default" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/release/production/kubernetes/install.sh)" | kubectl apply -f - NAMESPACE="default" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/release/production/kubernetes/install-loki.sh)" | kubectl apply -f --NAMESPACE="default" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/release/production/kubernetes/install-tempo.sh)" | kubectl apply -f -+NAMESPACE="default" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/release/production/kubernetes/install-traces.sh)" | kubectl apply -f -

Oops, yeah must have forgotten to remove this. The whole block can be removed, and we can replace with a link to https://grafana.com/docs/grafana-cloud/quickstart/agent-k8s

mattdurham

comment created time in 4 days

PullRequestReviewEvent

issue commentgrafana/agent

grafana-agent/agent-loki.yaml doesn't support CRI log format

@flokli the changes are live here

Thanks again for flagging this and following up!

Is there anything else required here, or can we close this issue?

flokli

comment created time in 5 days

issue commentgrafana/agent

grafana-agent/agent-loki.yaml doesn't support CRI log format

Thanks for the reminder, I'll make the PR today

flokli

comment created time in 5 days

startedgrafana/terraform-provider-grafana

started time in 7 days

Pull request review commentgrafana/helm-charts

[agent-operator] Add agent-operator Helm chart

+apiVersion: monitoring.grafana.com/v1alpha1+kind: GrafanaAgent+metadata:+  name: grafana-agent-test+  labels:+    app: grafana-agent-test+  annotations:+    "helm.sh/hook": test+spec:+  image: "{{ .Values.image.registry }}/grafana/agent:{{ .Values.image.tag }}"+  logLevel: info+  serviceAccountName: grafana-agent-test-sa+  prometheus:+    instanceSelector:+      matchLabels:+        agent: grafana-agent-test++---++apiVersion: v1+kind: ServiceAccount+metadata:+  name: grafana-agent-test-sa+  annotations:+    "helm.sh/hook": test++---++apiVersion: rbac.authorization.k8s.io/v1+kind: ClusterRole+metadata:+  name: grafana-agent-test-cr+  annotations:+    "helm.sh/hook": test+rules:+- apiGroups:+  - ""+  resources:+  - nodes+  - nodes/proxy+  - services+  - endpoints+  - pods+  verbs:+  - get+  - list+  - watch+- nonResourceURLs:+  - /metrics+  verbs:+  - get++---++apiVersion: rbac.authorization.k8s.io/v1+kind: ClusterRoleBinding+metadata:+  name: grafana-agent-test-crb+  annotations:+    "helm.sh/hook": test+roleRef:+  apiGroup: rbac.authorization.k8s.io+  kind: ClusterRole+  name: grafana-agent-test-cr+subjects:+- kind: ServiceAccount+  name: grafana-agent-test-sa+  namespace: {{ .Release.Namespace }}++---++apiVersion: v1+kind: Service+metadata:+  name: grafana-agent-test-svc+  annotations:+    "helm.sh/hook": test+spec:+    ports:+    - name: web+      port: 8080+    selector:+        app.kubernetes.io/instance: grafana-agent-test+        app.kubernetes.io/name: grafana-agent++---++apiVersion: v1+kind: Pod+metadata:+  name: grafana-agent-test-probe+  annotations:+    "helm.sh/hook": test+    "helm.sh/hook-weight": "1"+spec:+  containers:+  - name: busybox+    image: busybox+    command: ['wget']+    args:  ['grafana-agent-test-svc:8080/-/healthy']+  # Wait for GrafanaAgent CR+  initContainers:+  - name: sleep+    image: busybox+    command: ['sleep', '60']

Normally Helm would wait for a Deployment to be "ready" before executing this (note the hook-weight) but because we are using a custom resource (GrafanaAgent), it is marked as "ready" immediately even though it takes the Agent 30s or so to spin up...Perhaps there is a less hacky way...

hjet

comment created time in 8 days

PullRequestReviewEvent

push eventgrafana/helm-charts

hjet

commit sha 756ff662150a26bd19dae22afb0a27d0cf414296

Add GrafanaAgent health probe Signed-off-by: hjet <hjet@users.noreply.github.com>

view details

push time in 8 days

push eventgrafana/helm-charts

hjet

commit sha 2644bf3a8c5a448c41ca337a68629db018c2323e

Update chart name in README Signed-off-by: hjet <hjet@users.noreply.github.com>

view details

push time in 9 days

pull request commentgrafana/helm-charts

[agent-operator] Add agent-operator Helm chart

Hey @jtyr, I've improved the documentation for the chart per your suggestions and given you coauthor on the commit.

Are there any other changes you'd like to see in this chart?

hjet

comment created time in 9 days

PullRequestReviewEvent

Pull request review commentgrafana/helm-charts

[agent-operator] Add agent-operator Helm chart

+# grafana-agent-operator++![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.18.2](https://img.shields.io/badge/AppVersion-0.18.2-informational?style=flat-square)++A Helm chart for the Grafana Agent Operator++## Source Code++* <https://github.com/grafana/agent/tree/main/pkg/operator>++Note that this chart does not provision custom resources like `GrafanaAgent` and `MetricsInstance` (formerly `PrometheusInstance`) or any `*Monitor` resources.++To learn how to deploy these resources, please see [Get started with Grafana Agent Operator](https://grafana.com/docs/agent/latest/operator/getting-started/).++## CRDs++The CRDs are synced from the Grafana Agent [GitHub repo](https://github.com/grafana/agent/tree/main/production/operator/crds). To learn more about how Helm manages CRDs, please see [Custom Resource Definitions](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/) from the Helm docs.++## Get Repo Info++```console+helm repo add grafana https://grafana.github.io/helm-charts+helm repo update+```++_See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation._++## Installing the Chart++To install the chart with the release name `my-release`:++```console+helm install my-release grafana/ga-operator+```++## Uninstalling the Chart++To uninstall/delete the my-release deployment:++```console+helm delete my-release+```++The command removes all the Kubernetes components associated with the chart and deletes the release.++## Upgrading an existing Release to a new major version++A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an+incompatible breaking change needing manual actions.++## Values++| Key | Type | Default | Description |+|-----|------|---------|-------------|+| affinity | object | `{}` | Pod affinity configuration |+| annotations | object | `{}` | Annotations for the Deployment |+| fullnameOverride | string | `""` | Overrides the chart's computed fullname |+| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |+| image.pullSecrets | list | `[]` | Image pull secrets |+| image.registry | string | `"docker.io"` | Image registry |+| image.repository | string | `"grafana/agent-operator"` | Image repo |+| image.tag | string | `"v0.18.2"` | Image tag |+| nameOverride | string | `""` | Overrides the chart's name |+| nodeSelector | object | `{}` | nodeSelector configuration |+| podAnnotations | object | `{}` | Annotations for the Deployment Pods |+| podSecurityContext | object | `{}` | Pod security context (runAsUser, etc.) |+| rbac | object | `{"create":true}` | Toggle to create ClusterRole and ClusterRoleBinding |+| resources | object | `{}` | Resource limits and requests config |+| serviceAccount.create | bool | `true` | Toggle to create ServiceAccount |+| serviceAccount.name | string | `nil` | Service account name |+| tolerations | list | `[]` | Tolerations applied to Pods |

Also https://github.com/norwoodj/helm-docs#valuesyaml-metadata

hjet

comment created time in 9 days

Pull request review commentgrafana/helm-charts

[agent-operator] Add agent-operator Helm chart

+# grafana-agent-operator++![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.18.2](https://img.shields.io/badge/AppVersion-0.18.2-informational?style=flat-square)++A Helm chart for the Grafana Agent Operator++## Source Code++* <https://github.com/grafana/agent/tree/main/pkg/operator>++Note that this chart does not provision custom resources like `GrafanaAgent` and `MetricsInstance` (formerly `PrometheusInstance`) or any `*Monitor` resources.++To learn how to deploy these resources, please see [Get started with Grafana Agent Operator](https://grafana.com/docs/agent/latest/operator/getting-started/).++## CRDs++The CRDs are synced from the Grafana Agent [GitHub repo](https://github.com/grafana/agent/tree/main/production/operator/crds). To learn more about how Helm manages CRDs, please see [Custom Resource Definitions](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/) from the Helm docs.++## Get Repo Info++```console+helm repo add grafana https://grafana.github.io/helm-charts+helm repo update+```++_See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation._++## Installing the Chart++To install the chart with the release name `my-release`:++```console+helm install my-release grafana/ga-operator+```++## Uninstalling the Chart++To uninstall/delete the my-release deployment:++```console+helm delete my-release+```++The command removes all the Kubernetes components associated with the chart and deletes the release.++## Upgrading an existing Release to a new major version++A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an+incompatible breaking change needing manual actions.++## Values++| Key | Type | Default | Description |+|-----|------|---------|-------------|+| affinity | object | `{}` | Pod affinity configuration |+| annotations | object | `{}` | Annotations for the Deployment |+| fullnameOverride | string | `""` | Overrides the chart's computed fullname |+| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |+| image.pullSecrets | list | `[]` | Image pull secrets |+| image.registry | string | `"docker.io"` | Image registry |+| image.repository | string | `"grafana/agent-operator"` | Image repo |+| image.tag | string | `"v0.18.2"` | Image tag |+| nameOverride | string | `""` | Overrides the chart's name |+| nodeSelector | object | `{}` | nodeSelector configuration |+| podAnnotations | object | `{}` | Annotations for the Deployment Pods |+| podSecurityContext | object | `{}` | Pod security context (runAsUser, etc.) |+| rbac | object | `{"create":true}` | Toggle to create ClusterRole and ClusterRoleBinding |+| resources | object | `{}` | Resource limits and requests config |+| serviceAccount.create | bool | `true` | Toggle to create ServiceAccount |+| serviceAccount.name | string | `nil` | Service account name |+| tolerations | list | `[]` | Tolerations applied to Pods |

See: https://github.com/grafana/helm-charts/blob/1719a3689acd9d701da8fcdc146375f8517c1920/charts/agent-operator/values.yaml

hjet

comment created time in 9 days

PullRequestReviewEvent

Pull request review commentgrafana/helm-charts

[agent-operator] Add agent-operator Helm chart

+# grafana-agent-operator++![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.18.2](https://img.shields.io/badge/AppVersion-0.18.2-informational?style=flat-square)++A Helm chart for the Grafana Agent Operator++## Source Code++* <https://github.com/grafana/agent/tree/main/pkg/operator>++Note that this chart does not provision custom resources like `GrafanaAgent` and `MetricsInstance` (formerly `PrometheusInstance`) or any `*Monitor` resources.++To learn how to deploy these resources, please see [Get started with Grafana Agent Operator](https://grafana.com/docs/agent/latest/operator/getting-started/).++## CRDs++The CRDs are synced from the Grafana Agent [GitHub repo](https://github.com/grafana/agent/tree/main/production/operator/crds). To learn more about how Helm manages CRDs, please see [Custom Resource Definitions](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/) from the Helm docs.++## Get Repo Info++```console+helm repo add grafana https://grafana.github.io/helm-charts+helm repo update+```++_See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation._++## Installing the Chart++To install the chart with the release name `my-release`:++```console+helm install my-release grafana/ga-operator+```++## Uninstalling the Chart++To uninstall/delete the my-release deployment:++```console+helm delete my-release+```++The command removes all the Kubernetes components associated with the chart and deletes the release.++## Upgrading an existing Release to a new major version++A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an+incompatible breaking change needing manual actions.++## Values++| Key | Type | Default | Description |+|-----|------|---------|-------------|+| affinity | object | `{}` | Pod affinity configuration |+| annotations | object | `{}` | Annotations for the Deployment |+| fullnameOverride | string | `""` | Overrides the chart's computed fullname |+| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |+| image.pullSecrets | list | `[]` | Image pull secrets |+| image.registry | string | `"docker.io"` | Image registry |+| image.repository | string | `"grafana/agent-operator"` | Image repo |+| image.tag | string | `"v0.18.2"` | Image tag |+| nameOverride | string | `""` | Overrides the chart's name |+| nodeSelector | object | `{}` | nodeSelector configuration |+| podAnnotations | object | `{}` | Annotations for the Deployment Pods |+| podSecurityContext | object | `{}` | Pod security context (runAsUser, etc.) |+| rbac | object | `{"create":true}` | Toggle to create ClusterRole and ClusterRoleBinding |+| resources | object | `{}` | Resource limits and requests config |+| serviceAccount.create | bool | `true` | Toggle to create ServiceAccount |+| serviceAccount.name | string | `nil` | Service account name |+| tolerations | list | `[]` | Tolerations applied to Pods |

Which key doesn't line up?

hjet

comment created time in 9 days

PullRequestReviewEvent

push eventgrafana/helm-charts

hjet

commit sha 1719a3689acd9d701da8fcdc146375f8517c1920

Update README Signed-off-by: hjet <hjet@users.noreply.github.com>

view details

push time in 9 days

push eventgrafana/helm-charts

hjet

commit sha 563425c169bf70966e1071137b3fd1a5db7e6aac

Docs improvements Co-authored-by: Jiri Tyr <jiri.tyr@gmail.com> Co-authored-by: hjet <hjet@users.noreply.github.com> Signed-off-by: hjet <hjet@users.noreply.github.com>

view details

push time in 9 days

push eventgrafana/helm-charts

hjet

commit sha 852a402ec29c927843ee058aeaef1db5dddd35e6

Docs improvements Co-authored-by: Jiri Tyr <jiri.tyr@gmail.com> Co-authored-by: hjet <hjet@users.noreply.github.com> Signed-off-by: hjet <hjet@users.noreply.github.com>

view details

push time in 9 days

push eventgrafana/helm-charts

hjet

commit sha e52d7964594e6dfac56f7f8052431d2f5a08843f

Docs improvements Co-authored-by: Jiri Tyr <jiri.tyr@gmail.com> Co-authored-by: hjet <hjet@users.noreply.github.com> Signed-off-by: hjet <hjet@users.noreply.github.com>

view details

push time in 9 days

push eventgrafana/helm-charts

hjet

commit sha 64e442a39663de431433626b6074eebef1d16f32

Docs improvements Co-authored-by: Jiri Tyr <jiri.tyr@gmail.com> Co-authored-by: hjet <hjet@users.noreply.github.com> Signed-off-by: hjet <hjet@users.noreply.github.com>

view details

push time in 9 days

push eventgrafana/helm-charts

hjet

commit sha 7fe074b01a3a889cf025db4f25231e0af2cc00ad

Add newline

view details

push time in 9 days

push eventgrafana/helm-charts

hjet

commit sha 66eacae3f5bcf9bd8dcbb0fd91d174779c4d53a2

Docs improvements Co-authored-by: Jiri Tyr <jiri.tyr@gmail.com> Co-authored-by: hjet <hjet@users.noreply.github.com> Signed-off-by: hjet <hjet@users.noreply.github.com>

view details

push time in 9 days

fork hjet/agent

Prometheus Metrics, Loki Logs, and Tempo Traces, optimized for Grafana Cloud.

https://grafana.com/docs/agent/

fork in 9 days

startedgogo/protobuf

started time in 10 days

startedplanetscale/vtprotobuf

started time in 10 days

pull request commentgrafana/helm-charts

[agent-operator] Add agent-operator Helm chart

Thanks for the feedback @jtyr! I'll improve the README and add comments to the values.yaml file, that's a great call!

We'll be sure to give you co-author credit for all of these components.

hjet

comment created time in 10 days