Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
c6de64e5
Commit
c6de64e5
authored
1 year ago
by
famelis
Browse files
Options
Downloads
Patches
Plain Diff
refactor: change automation->ztp for metrics and license
parent
c47401f9
No related branches found
No related tags found
2 merge requests
!235
Release TeraFlowSDN 3.0
,
!166
Refactor/47 ubi rename ztp component
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/servicemonitors.yaml
+4
-4
4 additions, 4 deletions
manifests/servicemonitors.yaml
scripts/update_license_headers.py
+2
-2
2 additions, 2 deletions
scripts/update_license_headers.py
with
6 additions
and
6 deletions
manifests/servicemonitors.yaml
+
4
−
4
View file @
c6de64e5
...
@@ -277,9 +277,9 @@ apiVersion: monitoring.coreos.com/v1
...
@@ -277,9 +277,9 @@ apiVersion: monitoring.coreos.com/v1
kind
:
ServiceMonitor
kind
:
ServiceMonitor
metadata
:
metadata
:
namespace
:
monitoring
# namespace where prometheus is running
namespace
:
monitoring
# namespace where prometheus is running
name
:
tfs-
automation
service-metric
name
:
tfs-
ztp
service-metric
labels
:
labels
:
app
:
automation
service
app
:
ztp
service
#release: prometheus
#release: prometheus
#release: prom # name of the release
#release: prom # name of the release
# ( VERY IMPORTANT: You need to know the correct release name by viewing
# ( VERY IMPORTANT: You need to know the correct release name by viewing
...
@@ -290,7 +290,7 @@ spec:
...
@@ -290,7 +290,7 @@ spec:
matchLabels
:
matchLabels
:
# Target app service
# Target app service
#namespace: tfs
#namespace: tfs
app
:
automation
service
# same as above
app
:
ztp
service
# same as above
#release: prometheus # same as above
#release: prometheus # same as above
endpoints
:
endpoints
:
-
port
:
metrics
# named port in target app
-
port
:
metrics
# named port in target app
...
@@ -474,4 +474,4 @@ spec:
...
@@ -474,4 +474,4 @@ spec:
namespaceSelector
:
namespaceSelector
:
any
:
false
any
:
false
matchNames
:
matchNames
:
-
tfs
# namespace where the app is running
-
tfs
# namespace where the app is running
\ No newline at end of file
This diff is collapsed.
Click to expand it.
scripts/update_license_headers.py
+
2
−
2
View file @
c6de64e5
...
@@ -55,8 +55,8 @@ def skip_file(file_path : str) -> bool:
...
@@ -55,8 +55,8 @@ def skip_file(file_path : str) -> bool:
if
'
/.mvn/
'
in
file_path
:
return
True
if
'
/.mvn/
'
in
file_path
:
return
True
if
'
/hackfest/kafka/kafka_2.13-2.8.0
'
in
file_path
:
return
True
if
'
/hackfest/kafka/kafka_2.13-2.8.0
'
in
file_path
:
return
True
if
'
/src/device/service/drivers/openconfig/templates/
'
in
file_path
:
return
True
if
'
/src/device/service/drivers/openconfig/templates/
'
in
file_path
:
return
True
if
'
/
automation
/target/generated-sources/grpc/
'
in
file_path
:
return
True
if
'
/
ztp
/target/generated-sources/grpc/
'
in
file_path
:
return
True
if
'
/
automation
/target/kubernetes/
'
in
file_path
:
return
True
if
'
/
ztp
/target/kubernetes/
'
in
file_path
:
return
True
if
'
/policy/target/generated-sources/grpc/
'
in
file_path
:
return
True
if
'
/policy/target/generated-sources/grpc/
'
in
file_path
:
return
True
if
'
/policy/target/kubernetes/
'
in
file_path
:
return
True
if
'
/policy/target/kubernetes/
'
in
file_path
:
return
True
if
'
/src/dlt/gateway/
'
in
file_path
:
return
True
if
'
/src/dlt/gateway/
'
in
file_path
:
return
True
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment