Skip to content

Commit

Permalink
Fix: minor typos with example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ari-becker committed Jan 20, 2020
1 parent a0dd51f commit 228d95d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ https://raw.githubusercontent.com/coralogix/dhall-prometheus-operator/v3.1.0/pac
### Example ServiceMonitor
```dhall
let kubernetes = https://raw.githubusercontent.com/dhall-lang/dhall-kubernetes/4ad58156b7fdbbb6da0543d8b314df899feca077/defaults.dhall sha256:4450e23dc81975d111650e06c0238862944bf699537af6cbacac9c7e471dfabe

let Kubernetes = https://raw.githubusercontent.com/dhall-lang/dhall-kubernetes/4ad58156b7fdbbb6da0543d8b314df899feca077/types.dhall sha256:e48e21b807dad217a6c3e631fcaf3e950062310bfb4a8bbcecc330eb7b2f60ed

let PrometheusOperator = (https://raw.githubusercontent.com/coralogix/dhall-prometheus-operator/v3.1.0/package.dhall).v1 sha256:fca0c036575706b102a4e32d1644d12dda057ae40c3d9b3f37ad45346917b14d
let PrometheusOperator = (https://raw.githubusercontent.com/coralogix/dhall-prometheus-operator/v3.1.0/package.dhall sha256:fca0c036575706b102a4e32d1644d12dda057ae40c3d9b3f37ad45346917b14d).v1

in PromethesOperator.ServiceMonitor::{
in PrometheusOperator.ServiceMonitor::{
, metadata =
kubernetes.ObjectMeta // { name = "example" }
, spec =
Expand All @@ -35,16 +36,16 @@ in PromethesOperator.ServiceMonitor::{
toMap { app = "example" }
}
, endpoints =
[ Prometheus.Endpoint.Union.TargetPort
Prometheus.Endpoint.TargetPort::{
[ PrometheusOperator.Endpoint.Union.TargetPort
PrometheusOperator.Endpoint.TargetPort::{
, targetPort = Kubernetes.IntOrString.String "example"
, interval = Some "60s"
, scrapeTimeout = Some "40s"
}
]
, namespaceSelector =
Some
( Prometheus.NamespaceSelector.Any { any = True }
( PrometheusOperator.NamespaceSelector.Any { any = True }
)
}
}
Expand Down

0 comments on commit 228d95d

Please sign in to comment.