UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Security Tools
Twistlock
Commits
5210a37a
Commit
5210a37a
authored
Aug 10, 2020
by
Kavitha Thulasiraman
Browse files
documentation for prometheus
parent
0a51383a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
11 deletions
+25
-11
app/monitoring/prometheus/twistlockSecret.yaml
app/monitoring/prometheus/twistlockSecret.yaml
+0
-10
docs/README.md
docs/README.md
+25
-1
No files found.
app/monitoring/prometheus/twistlockSecret.yaml
deleted
100644 → 0
View file @
0a51383a
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
twistlock-basic-auth
namespace
:
monitoring
data
:
password
:
UGFzc3cwcmQh
user
:
QWRtaW5pc3RyYXRvcg==
type
:
Opaque
docs/README.md
View file @
5210a37a
...
@@ -209,4 +209,28 @@ kubernetes.container_name:twistlock-console
...
@@ -209,4 +209,28 @@ kubernetes.container_name:twistlock-console
```
```
```
```
kubernetes.container_name:twistlock-console kubernetes.namespace_name:twistlock stream:stdout log: F [31m ERRO 2020-07-14T20:01:10.932 kubernetes_profile_resolver.go:38 [0m Failed to fetch Istio resources in 863da02e-15f2-d3da-f74d-0256f77292ad: 1 error occurred: docker.container_id:8303db1aa9e2a694b5db5a454c07127944ee0a4799f3e15f190eaa0eec53ca63 kubernetes.pod_name:twistlock-console-7d77c954d-lnjxp kubernetes.container_image:registry.dsop.io/platform-one/apps/twistlock/console:20.04.169 kubernetes.container_image_id:registry.dsop.io/platform-one/apps/twistlock/console@sha256:db77c64af682161c52da2bbee5fb55f38c0bcd46cacdb4c1148f24d094f18a10 kubernetes.pod_id:c979ebe6-f636-41b8-bfff-eab27fd48692
kubernetes.container_name:twistlock-console kubernetes.namespace_name:twistlock stream:stdout log: F [31m ERRO 2020-07-14T20:01:10.932 kubernetes_profile_resolver.go:38 [0m Failed to fetch Istio resources in 863da02e-15f2-d3da-f74d-0256f77292ad: 1 error occurred: docker.container_id:8303db1aa9e2a694b5db5a454c07127944ee0a4799f3e15f190eaa0eec53ca63 kubernetes.pod_name:twistlock-console-7d77c954d-lnjxp kubernetes.container_image:registry.dsop.io/platform-one/apps/twistlock/console:20.04.169 kubernetes.container_image_id:registry.dsop.io/platform-one/apps/twistlock/console@sha256:db77c64af682161c52da2bbee5fb55f38c0bcd46cacdb4c1148f24d094f18a10 kubernetes.pod_id:c979ebe6-f636-41b8-bfff-eab27fd48692
```
```
\ No newline at end of file
# Monitoring
## Prometheus Monitoring
Twistlock Prometheus metrics collection is implemented following the documentation:
https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/audit/prometheus.html
NOTE:
1.
For twistlock monitoring, credentials are required to access the endpoint metrics.
2.
Current metrics is coming null, as current deployment has no ways to enable prometheus metrics.
To enable prometheus metrics in twistlock:
```
cd app/monitoring/prometheus
```
```
kubectl apply -k .
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment