Steven Allen
460c2119e4
daemon: support unix domain sockets for the API/gateway
...
All the work was client-side. Unix domain socket multiaddrs already worked
server-side.
fixes #4218
2019-09-30 17:21:28 -07:00
Steven Allen
164dd287be
Merge pull request #6675 from ipfs/feat/systemd-activation
...
add systemd support
2019-09-30 15:22:44 -07:00
Steven Allen
fdcdcb8258
Merge pull request #6684 from ipfs/update/go-libp2p-gostream-0.2.0
...
Update go-libp2p-http (and go-libp2p-gostream)
2019-09-30 10:09:29 -07:00
Steven Allen
03431482c7
Merge pull request #6688 from ipfs/ipfs-info-prometheus-metric
...
feat: add ipfs version info to prometheus metrics
2019-09-30 10:09:04 -07:00
Oli Evans
bbe2f5077e
feat: add ipfs version info to prometheus metrics
...
Adds `ipfs_info` prometheus metric with version and commit info
```prometheus
ipfs_info{commit="9ea7c6a11-dirty",version="0.5.0-dev"} 1
```
This follows the same pattern as go and other systems, adding a gauge metric that is set to 1, with the version info addeds as labels.
This is a common pattern for prometheus. It lets operators merge version info into other prometheus metrics by multiplying it with the other stat, as described in https://www.robustperception.io/exposing-the-software-version-to-prometheus
For example, we already expose the go version info as
```prometheus
go_info{version="go1.12.9"} 1
```
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-09-30 15:41:29 +01:00
Steven Allen
208a340eb1
Merge pull request #6686 from kishansagathiya/fix/typo
...
Fix typo
2019-09-30 07:27:45 -07:00
Kishan Mohanbhai Sagathiya
f0253dd108
Fix typo
2019-09-28 15:15:41 +05:30
Hector Sanjuan
c45ec19f37
Update go-libp2p-http (and go-libp2p-gostream)
...
Manually removed some newly-appeared // indirect imports as
they seem to just pollute the go.mod.
2019-09-27 16:14:27 -07:00
Steven Allen
0d0b4fc857
feat(systemd): extract socket activation logic
2019-09-27 16:09:17 -07:00
Steven Allen
37c19cc630
lint(systemd): remove dead code
2019-09-27 16:08:30 -07:00
Steven Allen
87f2e38017
systemd: add notify support
...
That way, we can reliably know when the daemon is ready.
2019-09-27 16:08:30 -07:00
Steven Allen
a4914a4478
systemd: merge API/gateway addresses
...
Instead of letting systemd override the configured addresses, merge them. This
is likely the "expected" behavior.
2019-09-27 16:08:30 -07:00
Steven Allen
1b05265862
cr: fix copy/paste error
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
6eb84227c6
cr: group related variables
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
429c4b537c
implement systemd socket activation
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
9ea7c6a111
Merge pull request #6677 from ipfs/dep/update
...
chore(dep): update everything
2019-09-27 16:07:42 -07:00
Steven Allen
2147f50240
test(sharness): fix circuit tests
2019-09-27 15:50:47 -07:00
Adin Schmahmann
f1cd629e2b
pin ls returns the appropriate zero value if no pins are found.
2019-09-27 18:42:29 -04:00
Steven Allen
853ed0be5d
chore: fix deprecation warnings
2019-09-26 15:38:12 -07:00
Steven Allen
9ee4adfc7c
chore(dep): update everything
...
* multiaddr (fixes issues when the latest go-multiaddr is imported)
* libp2p (lots of fixes)
* prometheus
* gogo/protobuf
fixes #6676
2019-09-26 14:50:02 -07:00
Steven Allen
b347695610
Merge pull request #6681 from ipfs/feat/migrate-actions
...
github: migrate actions
2019-09-26 14:48:17 -07:00
Steven Allen
bc20d08b0f
github: migrate actions
2019-09-26 14:16:49 -07:00
Steven Allen
4c87667632
Merge pull request #6653 from swedneck/patch-1
...
Add bridged chats
2019-09-24 19:28:34 -07:00
Steven Allen
43769d56e5
doc: use the official matrix.to link domain
2019-09-24 19:28:19 -07:00
Steven Allen
a2e82dc0e1
Merge pull request #6655 from ipfs/doc/nat-port-map
...
doc(config): improve DisableNatPortMap documentation
2019-09-24 19:27:21 -07:00
Steven Allen
3453f0ebfa
Merge pull request #6672 from MichaelMure/plugin-tracer-close
...
plugins: support Close() for Tracer plugins as well
2019-09-24 07:50:33 -07:00
Steven Allen
e921121bfe
Merge pull request #6673 from ipfs/collect-profiles-on-mac
...
fix: make collect-profiles.sh work on mac
2019-09-24 07:47:59 -07:00
swedneck
c23575e5ea
Move matrix before irc
2019-09-24 16:32:42 +02:00
swedneck
b152c57e40
update matrix alias
2019-09-24 16:25:05 +02:00
Oli Evans
75240599c9
fix: prefer 127.0.0.1
...
With an empty API headers config like
```js
"API": {
"HTTPHeaders": {}
},
```
running collect-profiles.sh shows connection errors when trying to POST to `/debug/pprof-mutex/` end point when using `localhost`.
The same errors do not occur when using `127.0.0.1`
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-09-24 11:20:32 +01:00
Oli Evans
0316abc7d6
fix: make collect-profiles.sh work on mac
...
The version of `date` that ships with darwin does not support the `-Iseconds` flag.
Use a pattern with `date` to achieve the same thing but should have better cross platform support.
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-09-24 11:06:23 +01:00
Michael Muré
72026b896f
plugins: support Close() for Tracer plugins as well
...
Most of the tracers available need to properly close to send
the remaining traces before the process exit.
2019-09-24 17:43:07 +09:00
Steven Allen
ad9cbbd2bb
Merge pull request #6671 from ipfs/fix/6670
...
namesys(test): test TTL on publish
2019-09-23 18:14:42 -07:00
Steven Allen
1858ccdd35
namesys(test): test TTL on publish
...
No fix is complete without a test.
fixes #6670
2019-09-23 17:52:45 -07:00
Steven Allen
6e1e6db949
Merge pull request #6669 from ipfs/fix/6648
...
pin: fix pin update X Y where X==Y
2019-09-23 17:12:10 -07:00
Steven Allen
6722a38535
pin: fix pin update X Y where X==Y
...
We were pining Y then removing the pin for X. When X == Y, we'd remove the new
pin.
fixes #6648
2019-09-23 16:29:26 -07:00
Steven Allen
2062738cad
Merge pull request #6667 from ipfs/fix/ttl-on-publish
...
namesys: set the correct cache TTL on publish
2019-09-23 14:54:43 -07:00
Steven Allen
d8599bd108
namesys: set the correct cache TTL on publish
...
fixes https://github.com/ipfs/go-ipfs/issues/6656#issuecomment-534252128
2019-09-23 14:06:11 -07:00
Steven Allen
33c1f2241e
Merge pull request #6665 from ipfs/fix/mdns-warning
...
discovery: improve mdns warnings
2019-09-23 12:50:23 -07:00
Steven Allen
416195de00
discovery: improve mdns warnings
...
* Don't warn when connecting to peers.
* Include the peer id when failing to connect to discovered nodes.
2019-09-23 12:17:56 -07:00
Steven Allen
c102ed089a
Merge pull request #6664 from hacdias/patch-2
...
feat: web ui 2.5.4
2019-09-23 09:22:25 -07:00
Henrique Dias
36acc402aa
feat: web ui 2.5.4
2019-09-23 15:44:21 +01:00
Steven Allen
76db2a0b31
doc(config): improve DisableNatPortMap documentation
2019-09-20 16:36:15 -07:00
Steven Allen
954d682cbb
Merge pull request #6654 from ipfs/fix/4605
...
cmds(help): fix swarm filter add/rm help text
2019-09-20 16:30:55 -07:00
Steven Allen
c9f3d4b9ab
cmds(help): fix swarm filter add/rm help text
...
These _are_ added/removed from the config.
fixes #4605
2019-09-20 15:02:11 -07:00
swedneck
aee194687e
Add bridged chats
2019-09-20 19:49:52 +02:00
Adrian Lanzafame
03017cb201
ipfs namespace is now being provided to prometheus
2019-09-15 11:08:19 +10:00
Steven Allen
8c033f124b
Merge pull request #6638 from hacdias/patch-2
...
feat: webui 2.5.3
2019-09-12 16:33:08 -07:00
Henrique Dias
7c6ba8f724
feat: webui 2.5.3
...
Superseeds #6635 .
2019-09-12 23:09:43 +01:00
Steven Allen
7e7b76259f
Merge pull request #6641 from ipfs/fix/golangci-again
...
build: fix golangci again
2019-09-12 14:24:24 -07:00