Skip to content

Commit

Permalink
fix: unbreak broken things
Browse files Browse the repository at this point in the history
  • Loading branch information
Joey Freeland committed Dec 22, 2020
1 parent 9da8f13 commit d36959a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@ This is a simple example of monitoring ec2 network metrics that are not being
presented via ethtool.

For more information see [Monitoring EC2 Network Performance ENA](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-network-performance-ena.html).

## Rebuild

```
helm package helm/
```

## Install

```
helm repo add ec2nm https://jfreeland.github.io/ec2-network-monitor
helm install -n kube-system ec2-network-monitor ec2nm/ec2-network-monitor
```
2 changes: 1 addition & 1 deletion cmd/ec2nm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func main() {
statsHost := flag.String("host", "", "the datadog agent host and port")
flag.Parse()

statsd, err := statsd.New(*statsHost, statsd.WithNamespace("aws.ec2."))
statsd, err := statsd.New(*statsHost, statsd.WithNamespace("aws.ec2.ethtool"))
if err != nil {
log.Fatalf("err: %v\n", err)
}
Expand Down
Binary file modified ec2-network-monitor-0.1.0.tgz
Binary file not shown.
8 changes: 4 additions & 4 deletions helm/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: ec2-network-monitor
image: "public.ecr.aws/z1r6e3l2/jfreeland/ec2-network-monitor/ec2nm:latest"
image: "public.ecr.aws/z1r6e3l2/jfreeland/ec2-network-monitor:latest"
env:
- name: DD_AGENT_HOST
valueFrom:
Expand All @@ -33,7 +33,7 @@ spec:
imagePullPolicy: IfNotPresent
resources:
limits:
memory: 50Mi
memory: 5Mi
requests:
cpu: 50M
memory: 50Mi
cpu: 5M
memory: 5Mi

0 comments on commit d36959a

Please sign in to comment.