Skip to content

Commit

Permalink
v1.2.3
Browse files Browse the repository at this point in the history
Added new service for statsD-exporter
  • Loading branch information
AjohnsonLS committed Apr 13, 2021
1 parent ac9a6c5 commit 1e31f26
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Lightstep Satellite Helm Chart

This is a helm chart used to deploy a Lightstep satellite. All configuration should be made in the values.yaml file. Nothing else should need to be modified. This does not include metrics monitoring and the extra containers of the StatsD exporter or endpoints.
This is a helm chart used to deploy a Lightstep satellite. All configuration should be made in the values.yaml file. Nothing else should need to be modified.

Required Configuration:

Expand Down
8 changes: 8 additions & 0 deletions charts/lightstepsatellite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
##1.2.3

ENHANCEMENTS:

* Added a service for statsD-exporter
* Updated REAME with accurate metrics functionality
* Added another maintainer

## 1.2.2

BUG FIXES:
Expand Down
2 changes: 1 addition & 1 deletion charts/lightstepsatellite/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: lightstep
version: 1.2.2
version: 1.2.3
appVersion: "2021-01-26_23-02-36Z"
description: Lightstep satellite to collect telemetry data.
home: https://lightstep.com/
Expand Down
2 changes: 2 additions & 0 deletions charts/lightstepsatellite/artifacthub-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ repositoryID: 733960d2-d63d-4d2f-8a11-6c0b502e8f13
owners: # (optional, used to claim repository ownership)
- name: AJohnsonLS
email: [email protected]
- name: michellelee
email: [email protected]
16 changes: 16 additions & 0 deletions charts/lightstepsatellite/templates/metric-exporter-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: statsd-exporter
labels:
{{- include "lightstep.labels" . | nindent 4 }}
spec:
{{ if .Values.service.metricExporter }}
type: {{ .Values.service.metricServiceType }}
{{ end }}
ports:
- name: prom-endpoint
port: {{ .Values.service.promScrapeEndpoint }}
targetPort: {{.Values.promScrapeEndpoint}}
selector:
{{- include "lightstep.selectorLabels" . | nindent 4 }}
13 changes: 10 additions & 3 deletions charts/lightstepsatellite/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,19 @@ securityContext:
runAsUser: 1000

service:
type: ClusterIP
type: LoadBalancer
httpPort: 8181
# -- set to true if you're using GRPC in order to deploy as a headless service for better load balancing
grpc: false
grpcinsecure: 8184
annotations: {}
# -- set to true to create a service for the statsd exporter. This endpoint will yield a Prometheus endpoint to scrape
metricExporter: false
metricServiceType: LoadBalancer
# -- This should be the same as the podAnnotations.prometheus.io/port value
promScrapeEndpoint: 9102




ingress:
Expand Down Expand Up @@ -147,12 +154,12 @@ affinity: {}

statsd:
enabled: false
host: statsd-exporter
host: localhost
port: 9125
export_statsd: true # If true, dogStatsD will be ignored
prefix: "lightstep.prod.us-west-1"
satellite_prefix: "satellite-canary"
client_prefix: "client_via_canary"
client_prefix: "client"
dogStatsD: false # If true, will output dogStatsD instead of statsD
dogStatsDTags: "pool:us-west-1,canary:true"
image:
Expand Down

0 comments on commit 1e31f26

Please sign in to comment.