Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
aoyang
/
monitoring
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
07998cb8
authored
Nov 07, 2022
by
lincyawer
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加mangodb
parent
b46def27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
docker-compose.yaml
prometheus/prometheus.yml
docker-compose.yaml
View file @
07998cb8
...
...
@@ -74,6 +74,13 @@ services:
-
source
:
rabbitmq
target
:
/etc/config.json
command
:
"
-config-file
/etc/config.json"
mongodb
:
image
:
percona/mongodb_exporter:0.35.0
ports
:
-
10007:9216
networks
:
-
monitoring
command
:
"
--mongodb.uri=mongodb://ichunt:huntmon6699@192.168.1.237:17001/ichunt"
volumes
:
prome-data
:
...
...
prometheus/prometheus.yml
View file @
07998cb8
...
...
@@ -23,22 +23,22 @@ scrape_configs:
# # Not required. Will match value to child in config file. Default value is `client`.
# auth_module: client.servers
static_configs
:
-
targets
:
[
'
192.168.1.234:9
104'
,
'
192.168.1.234:9105
'
]
-
targets
:
[
'
192.168.1.234:9
999'
,
'
192.168.1.234:10003
'
]
-
job_name
:
'
node'
static_configs
:
-
targets
:
[
'
192.168.1.234:9100'
,
'
192.168.1.252:9100'
]
-
job_name
:
'
elastic_search'
static_configs
:
-
targets
:
[
'
192.168.1.234:
911
4'
]
-
targets
:
[
'
192.168.1.234:
1000
4'
]
-
job_name
:
'
redis'
static_configs
:
-
targets
:
[
'
192.168.1.234:
9121
'
]
-
targets
:
[
'
192.168.1.234:
10005
'
]
-
job_name
:
'
mongodb'
static_configs
:
-
targets
:
[
'
192.168.1.234:
9001
'
]
-
targets
:
[
'
192.168.1.234:
10007
'
]
-
job_name
:
'
rabbitmq'
static_configs
:
-
targets
:
[
'
192.168.1.234:
9419
'
]
-
targets
:
[
'
192.168.1.234:
10006
'
]
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