Skip to content

Commit 08d0b0c

Browse files
Merge pull request #65 from canonical/IAM-1034-o11y-improvements
Iam 1034 o11y improvements
2 parents 877a055 + 9c8d075 commit 08d0b0c

File tree

6 files changed

+606
-298
lines changed

6 files changed

+606
-298
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,5 @@ cython_debug/
158158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160160
.idea/
161+
162+
*.charm

README.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,30 @@ Take the `self-signed-certificates-operator` as an example:
9494
juju integrate glauth-k8s self-signed-certificates
9595
```
9696

97+
## Observability
98+
99+
GLAuth operator integrates with [Canonical Observability Stack (COS)](https://charmhub.io/topics/canonical-observability-stack) bundle. It comes with a Grafana dashboard and Loki and Prometheus alert rules for basic common scenarios. To integrate with the COS bundle, after you [deploy](https://charmhub.io/topics/canonical-observability-stack/tutorials/install-microk8s#heading--deploy-the-cos-lite-bundle) it, you can run:
100+
101+
```shell
102+
juju integrate glauth-k8s:metrics-endpoint prometheus:metrics-endpoint
103+
juju integrate glauth-k8s:logging loki:logging
104+
juju integrate glauth-k8s:grafana-dashboard grafana:grafana-dashboard
105+
```
106+
97107
## Configurations
98108

99109
The `glauth-k8s` charmed operator offers the following charm configuration
100110
options.
101111

102112
| Charm Config Option | Description | Example |
103-
|:-------------------:|------------------------------------------------------------------|------------------------------------------------------|
113+
| :-----------------: | ---------------------------------------------------------------- | ---------------------------------------------------- |
104114
| `base_dn` | The portion of the DIT in which to search for matching entries | `juju config <charm-app> base-dn="dc=glauth,dc=com"` |
105115
| `hostname` | The hostname of the LDAP server in `glauth-k8s` charmed operator | `juju config <charm-app> hostname="ldap.glauth.com"` |
106116
| `starttls_enabled` | The switch to enable/disable StartTLS support | `juju config <charm-app> starttls_enabled=true` |
107117

108118
> ⚠️ **NOTE**
109119
>
110-
> - The `hostname` should **NOT** contain the ldap scheme (e.g. `ldap://`) and
111-
port.
120+
> - The `hostname` should **NOT** contain the ldap scheme (e.g. `ldap://`) and port.
112121
> - Please refer to the `config.yaml` for more details about the configurations.
113122
114123
## Contributing

0 commit comments

Comments
 (0)