0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-07 23:05:41 +00:00
Commit graph

186 commits

Author SHA1 Message Date
thiagoftsm
588096c6b6
Debugfs collector ()
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2023-05-15 19:06:26 +03:00
Devin Norgarb
6ac9a26ba4
Fix TYPO in README.md () 2023-04-27 15:18:37 +03:00
Fotis Voutsas
fadd2d81a9
Replace "XYZ view" with "XYZ tab" in documentation files ()
* replace 'XYZ view' with 'XYZ tab' in documentation files

* Update README.md
2023-04-20 09:04:08 -07:00
Héctor Molinero Fernández
2e168e9a74
Document CetusGuard as a Docker socket proxy solution ()
* Document CetusGuard as a Docker socket proxy solution

* Re-add Docker Socket Proxy to docs
2023-04-18 08:39:22 -07:00
Austin S. Hemmelgarn
1afd93cb64
Fix intermittent permissions issues in some Docker builds. ()
* Fix intermittent permissions issues in some Docker builds.

* Fix issue with PPC64le builds.
2023-03-07 08:47:55 -05:00
Dim-P
1d2458a5f5
[docs]: Revert that documents how to set nofile limit for Netdata containers ()
Revert 
2023-03-01 06:24:23 -08:00
Chris Akritidis
5d9acff2a8
Update README.md () 2023-02-21 05:41:46 -08:00
Chris Akritidis
53c92bab3d
Reorg learn ()
reorg learn
2023-02-21 05:38:11 -08:00
Austin S. Hemmelgarn
61fea7837f
Support installing extra packages in Docker images at runtime. ()
* Support installing extra packages in Docker images at runtime.

This enables users to pull in additional packages more easily if they
need to. It also allows us to drop optional runtime dependencies from
our base images without making life significantly more difficult for
users who actually need them.

* Reorganize code and fix issues brought up in review.

* Make new variable empty by default instead.
2023-02-21 07:12:32 -05:00
Ilya Mashchenko
91b3c4296f
fix setting go.d.plugin capabilities () 2023-02-16 17:14:56 +02:00
Chris Akritidis
f9acc1aead
More learn reorg/reordering ()
* Move installation before concepts

* Reorder installation links

* Remove single node monitoring

* Reorg libnetdata content
2023-02-10 11:21:10 -08:00
Fotis Voutsas
d7056b4b4f
update the "Install Netdata with Docker" doc ()
* update packaging/docker/README.md

* rebase and make the file GitHub friendly

* suggestions from review
2023-02-08 05:12:24 -08:00
Tasos Katsoulas
9f1403de7d
Covert our documentation links to GH absolute links ()
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2023-02-02 15:23:54 +02:00
Austin S. Hemmelgarn
3dec478c80
Publish Docker images to GHCR.io and Quay.io ()
* Also publish official images to GHCR.

This provides an alternative source for users to get our Docker images.

* Add basic static labels to our Docker images.

These provide slightly better behavior on GHCR, as well as providing
useful metadata for users.

* Also publish to Quay.io.

* Fix typo.

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2023-01-31 08:18:22 -05:00
thiagoftsm
3e3ff4bee8
Add Collector log () 2023-01-25 19:04:07 +00:00
Austin S. Hemmelgarn
597f08dee6
Assorted infrastructure cleanup. ()
* Remove old documentation check related config files.

These are no longer used by any of our CI as far as I can tell.

* Purge LGTM configuration and references.

It has been fully shut down, so none of this works anymore.

* Purge Travis CI config, scripts, and references.

We are no longer using Travis CI, so all of this is useless.

* Pureg config for other CI tools we are no longer using.

* Remove old packaging related test scripts.

These haven’t been used in years, and are potentially confusing for new
contributors.

* Restore MLC configuration.

It is, in fact, still in use.

* Fix bogus CI config in dist files.

* Fix botched merge in CODEOWNERS.
2023-01-25 11:10:37 -05:00
Fotis Voutsas
0541c97e53
Introduce the new Structure of the documentation ()
* Moving the cloud docs under /docs/cloud (previous location: netdata/learn/*)
* Added metadata on almost every document of the old learn site for the new ingest process of learn. 
* Map old learn document to their best fit as topic related docs.

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Co-authored-by: DShreve2 <david@netdata.cloud>
Co-authored-by: hugovalente-pm <hugo@netdata.cloud>
2023-01-25 15:29:33 +02:00
Ilya Mashchenko
6fc5c4f51d
fix docker builds ()
docker rm wheel
2023-01-05 13:44:45 +02:00
Ilya Mashchenko
2ff572a1ad
docs: explicitly set the nofile limit for Netdata container and document the reason for this () 2022-12-22 22:43:30 +02:00
Ilya Mashchenko
4322b1973d
remove deprecated fping.plugin in accordance with v1.37.0 deprecation notice () 2022-12-09 17:35:53 +02:00
Ilya Mashchenko
d0dad4459e
fix docker host editable config ()
Fixes https://github.com/netdata/netdata/issues/14103
2022-12-08 11:15:31 +02:00
Austin S. Hemmelgarn
56e22c16e8
Cleanly reimplement system/edit-config.in. ()
* Cleanly reimplement system/edit-config.in

- Added support for pulling config files from Docker containers.
- Added auto-detection for Docker containers.
- Use directory the script is in for target directory for config files
  instead of templating it in at build time.
- Prefix error messages with `ERROR:`.
- Robustly check for a valid editor _before_ invoking it.
- Add support for actual command-line options, including a proper
  `--help` option.
- Use prefix matching of absolute paths to determine file validity
  instead of blindly excluding certain path types.
- If editing a non-existing file we do not provide a stock copy of,
  create an empty file instead of throwing an error.
- Make the whole script properly modular.

* Improve robustness of container autodetection.

Instead of relying on the lack of certain directories on a host system,
use some relatively standard checks to determine if we appear to be
running in a container.

* Auto-detect stock config paths at runtinme instead of hard-coding them at build time.

THis will simplify testing of the script, as well as making it a bit
more resilient to users moving things around.

* Add an option to list known config files.

* Fix container environment check to not require root.

* Fix help output.

* Fix path prefix check.

* Fix file path handling.

* Use correct variable when editing files.

* Use correct path for `env`.

* Source profile before running `set -e`.

To prevent questionablly written profiles from causing the script to
exit.

* Produce columnar output when listing valid files.

* Fix copy check.

* Fix build issues.

* fix build issues

* formatting

Co-authored-by: ilyam8 <ilya@netdata.cloud>
2022-12-06 10:53:30 -05:00
Ilya Mashchenko
6f2f84936b
docs: add a note to set container nofile ulimit for Fedora users ()
Fixes https://github.com/netdata/netdata/issues/14062
2022-12-06 17:33:08 +02:00
Austin S. Hemmelgarn
0e2033c743
Add info for Docker containers about using hostname from host. ()
* Add info for Docker containers about using hostname from host.

By directly mounting `/etc/hostname` into the container read-only.

* Update packaging/docker/README.md

Co-authored-by: DShreve2 <david@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Co-authored-by: DShreve2 <david@netdata.cloud>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2022-09-30 09:17:10 -04:00
Ilya Mashchenko
394574c9a2
docs: add a note about edit-config for docker installs () 2022-08-04 20:00:36 +03:00
Ilya Mashchenko
e2be6f942a
docs: add a note about network interface monitoring when running in a Docker container () 2022-07-29 23:16:16 +03:00
Timotej S
014c9f3259
include Judy into our source tree () 2022-07-22 16:55:06 +02:00
Austin S. Hemmelgarn
70f19efb7d
Add additional Docker image build with debug info included. ()
* Add additional Docker image build with debug info included.

* Assorted fixes.

* Update packaging/docker/gen-cflags.sh

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2022-07-13 07:17:37 -04:00
Ilya Mashchenko
8c272e919f
fix(packaging): respect CFLAGS arg when building Docker image () 2022-07-09 18:58:57 +03:00
Austin S. Hemmelgarn
cba0dca1f6
Add -pipe to CFLAGS in most cases for builds. ()
* Add `-pipe` to CFLAGS in most cases for builds.

This trades marginally higher memory usage at build time (on the order
of a few hundred kB in the worst case scenario) for improved build
times by avoiding using temporary files for passing data from the
compiler to commands it invokes.

* Suppress bogus shellcheck warnings.

* Fix handling of CFLAGS in netdata-installer.sh.
2022-05-02 08:54:50 -04:00
Ilya Mashchenko
9d13da121c
fix: use NETDATA_LISTENER_PORT in docker healtcheck () 2022-04-19 11:30:43 +03:00
Austin S. Hemmelgarn
3f97fe0355
Disable automake dependency tracking in our various one-time builds. ()
* Disable automake dependency tracking in our various one-time builds.

* Also disable dependency tracking code in package builds.
2022-04-18 14:21:02 -04:00
Austin S. Hemmelgarn
0fb2107275
Add spport for passing extraclaiming options when claiming with Docker. () 2022-03-30 07:22:36 -04:00
Austin S. Hemmelgarn
3b586dc08c
Provide better handling of config files in Docker containers. ()
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2022-03-24 11:14:34 +02:00
Ilya Mashchenko
c05d44f59e
chore: remove "web files" options leftovers () 2022-03-15 14:59:16 +02:00
Ilya Mashchenko
4267a14c4d
fix: shellcheck warnings in docker run.sh () 2022-03-14 15:03:07 +02:00
Austin S. Hemmelgarn
7b77f7c56a
Add warning about broken Docker hosts in container entrypoint. ()
* Add warning about broken Docker hosts in container entrypoint.

Also adds a case to catch users trying to run the entrypoint as a a user
in the container other than root, which we very much do not support.

* Fix messages and remove invalid error case.

* Link to docs in message instead of giving full explanation.
2022-03-09 08:56:28 -05:00
Tina Luedtke
c7f2647a62
Docs: Removed Google Analytics tags () 2022-02-17 10:37:46 +00:00
Ilya Mashchenko
2ff0c5c3cf
rename DO_NOT_TRACK to DISABLE_TELEMETRY () 2022-02-15 17:23:32 +03:00
Mohammed Al Sahaf
a0fc261c25
Update syntax for Caddy v2 () 2022-02-12 00:44:23 +03:00
Ilya Mashchenko
8875acec28
docs: improve "Docker container names resolution" section () 2022-02-03 15:57:12 +03:00
Austin S. Hemmelgarn
36a9d70880
Add flag to mark containers as created from official images in analytics. ()
* Add flag to mark containers as created from official images in analytics.

* Fix CI.

* process NETDATA_CONTAINER_IS_OFFICIAL_IMAGE variable from system info and export to anonymous-statistics script

Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
2021-10-19 07:29:28 -04:00
Austin S. Hemmelgarn
b015f2afe5
Add POWER8+ support to our official Docker images. ()
* Add POWER8+ support to our official Docker images.

* Update docs about lack of FreeIPMI in POWER8 docker images.

* Update packaging/docker/README.md

Co-authored-by: David Shreve, Jr. <david@netdata.cloud>

Co-authored-by: David Shreve, Jr. <david@netdata.cloud>
2021-10-12 07:34:03 -04:00
Austin S. Hemmelgarn
5ff0032310
Use system copy of protobuf in Docker images and static builds. ()
We know both environments provide a reliably stable copy, and this
greatly improves build imes.
2021-09-09 07:58:58 -04:00
Austin S. Hemmelgarn
538ba0a2e5
Revert "Add support for runtime configuration of UID/GID for Netdata user. ()" ()
This reverts commit 1da4bd8b7d.
2021-09-09 13:03:03 +03:00
Austin S. Hemmelgarn
1da4bd8b7d
Add support for runtime configuration of UID/GID for Netdata user. ()
* Add support for runtime configuration of UID/GID for Netdata user.

* Consolidate layers in Docker image.

* Re-add proper username selection handling.

* Unconditionally handle the netdata group.

Instead of having it be dependent on the name of the user.

* Docs cleanup

* Only try to change accounts if daabases are writable.
2021-09-08 06:26:40 -04:00
Odysseas Lamtzidis
7b24b12a15
Auto-detect PGID in Dockerfile's ENTRYPOINT script ()
* initial commit for balena, docker

* chage else if to elif
2021-07-13 16:00:30 +03:00
Austin S. Hemmelgarn
295d407fb0
Store info about the installation type for later retrieval. ()
* Store info about the installation type for later retrieval.

* Properly handle install type on updates.

* Restructure install type values for easier parsing.

* Fix checksums.

* Fix .gitignore check.
2021-05-24 07:34:09 -04:00
Joel Hans
833252b8db
Fix broken links in various docs () 2021-05-10 13:43:44 -07:00
Andrew Maguire
447eca5970
Replace references to Google Analytics with Posthog where relevant ()
* Swapping out sentence about Google Analytics with a PostHog version of it.

* replace "Google Analytics" with "Netdata"

replace "sent to Google Analytics" with "sent to Netdata". 

Since we are no using a self hosted Netdata PostHog instance i think "sent to Netdata" makes most sense.

* update opt-out paragraph based on posthog

* Replace references to Google Analytics with PostHog

@joelhans @cakrit i'm assuming with might need to have legal input on any changes to this doc so my changes may or may not be acceptable, at a minimum they need a review by someone from legal.

* update google analytics reference with posthog

* replace google analytics with posthog

* replace google analytics with netdata
2021-04-14 21:07:46 +01:00