{"id":1471,"date":"2021-05-04T07:00:20","date_gmt":"2021-05-04T07:00:20","guid":{"rendered":"https:\/\/www.dev-metal.ch\/?p=1471"},"modified":"2022-06-01T10:23:04","modified_gmt":"2022-06-01T10:23:04","slug":"grafana-und-influxdb","status":"publish","type":"post","link":"https:\/\/www.dev-metal.ch\/?p=1471","title":{"rendered":"Grafana\/Influxdb\/Telegraf\/Chronograf"},"content":{"rendered":"<p>Installation auf einem Armbian, 21.02.3 Focal<\/p>\n<h1>Installation Influxdb<\/h1>\n<p>Installation wird auch hier beschrieben: <a href=\"https:\/\/docs.influxdata.com\/influxdb\/v1.8\/introduction\/install\/\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.influxdata.com\/influxdb\/v1.8\/introduction\/install\/<\/a><code class=\"language-sh\" data-lang=\"sh\"><\/code><\/p>\n<pre>sudo wget -qO- https:\/\/repos.influxdata.com\/influxdb.key | gpg --dearmor &gt; \/etc\/apt\/trusted.gpg.d\/influxdb.gpg\r\nexport DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) \r\nsudo echo \"deb [signed-by=\/etc\/apt\/trusted.gpg.d\/influxdb.gpg] https:\/\/repos.influxdata.com\/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable\" &gt; sudo \/etc\/apt\/sources.list.d\/influxdb.list<\/pre>\n<h2>Influxdb installieren<\/h2>\n<pre>sudo apt-get update &amp;&amp; sudo apt-get install influxdb \r\nsudo service influxdb start<\/pre>\n<h2>Version auf &#8222;hold&#8220; setzen<\/h2>\n<p>Bei Influx scheint die Qualit\u00e4t nicht sehr hoch. Nach einem Update von Version 1.8.6 auf 1.8.9 lief die Influxdb nur noch sehr langsam und es hagelte <a href=\"https:\/\/discourse.nodered.org\/t\/influxdb-upgrade-from-v1-8-6-broken-fix-v1-8-9-still-broken\/50459\" target=\"_blank\" rel=\"noopener\">&#8222;connection refused&#8220; Fehler<\/a>. Ich habe deswegen einen downgrade auf die Version 1.8.6 (<a href=\"https:\/\/newreleases.io\/project\/github\/influxdata\/influxdb\/release\/v1.8.6\" target=\"_blank\" rel=\"noopener\">Ressource<\/a>) durchgef\u00fchrt und diese Version nun &#8222;fixiert&#8220;<\/p>\n<pre>wget https:\/\/dl.influxdata.com\/influxdb\/releases\/influxdb_1.8.6_armhf.deb\r\nsudo dpkg -i influxdb_1.8.6_armhf.deb\r\nsudo apt-mark hold influxdb<\/pre>\n<h2>Mit Installation fortfahren<\/h2>\n<p>Nun kann auf die Influx-Shell zugegriffen werden<\/p>\n<pre>influx<\/pre>\n<p>Benutzer anlegen<\/p>\n<pre>CREATE USER \"admin\" WITH PASSWORD '&lt;adminpassword&gt;' WITH ALL PRIVILEGES\r\nCREATE USER \"spacelynk\" WITH PASSWORD '&lt;userpassword&gt;'<\/pre>\n<p>Datenbank anlegen und Berechtigung erteilen<\/p>\n<pre>CREATE DATABASE \"knxdb\"\r\nGRANT ALL ON \"knxdb\" TO \"user\"<\/pre>\n<h2>Influxdb konfigurieren<\/h2>\n<p>Das Konfig-File der Influx-DB liegt unter \/etc\/influxdb\/&#8230;<\/p>\n<pre>sudo vi \/etc\/influxdb\/influxdb.conf<\/pre>\n<p>Sicherstellen, dass folgende Punkte gesetzt sind:<\/p>\n<pre>[http] \r\nenabled = true \r\nbind-address = \":8086\" \r\nauth-enabled = true\r\nlog-enabled = true \r\nwrite-tracing = false \r\npprof-enabled = true \r\nhttps-enabled = false \r\nhttps-certificate = \"\/etc\/ssl\/influxdb.pem\"\r\nflux-enabled = true<\/pre>\n<p>Service restarten<\/p>\n<pre>sudo service influxdb restart<\/pre>\n<h1>Nachtrag: Installation Influxdb auf armbian 32Bit (cannot allocate memory)<\/h1>\n<p>Die Influxdb lief nun x Monate. Nach einiger Zeit viel auf, dass das System heiss lief (&gt;80\u00b0C) und im \/var\/log\/syslog folgende Fehlermeldung erschien:<\/p>\n<pre>Jun 1 10:40:42 odroidxu4 influxd[24423]: ts=2022-06-01T08:40:42.988192Z lvl=info msg=\"Error replacing new TSM files\" log_id=xxxx engine=tsm1 tsm1_level=1 tsm1_strategy=level trace_id=0aobcfkW000 op_name=tsm1_compact_group db_shard_id=654 error=\"cannot allocate memory\"<\/pre>\n<p>Hier handelt es sich um ein InfluxDB-ARM-32-Bit-Fehler. Influx besteht darauf, die gesamte Datenbank in den Speicher abzubilden ist, was fehlschl\u00e4gt, wenn die Datenbankgr\u00f6\u00dfe gr\u00f6\u00dfer als die adressierbare Speichergr\u00f6\u00dfe ist (2 GB auf 32-Bit-Kerneln, ~ 3,6 GB auf 64-Bit-Kerneln, mit 32-Bit-OS).<\/p>\n<p>Da ich ein 32Bit OS auf einem 32Bit-Kernel betreibe, stosse ich auf diesen Fehler, der das gesamte System instabil macht. Teilweise enstanden OS-Freezes daraus.<\/p>\n<h2>Fix<\/h2>\n<p>Wie <a href=\"https:\/\/github.com\/influxdata\/influxdb\/pull\/12362#issuecomment-866695411\" target=\"_blank\" rel=\"noopener\">hier<\/a> beschreiben, existiert ein Fix. Ablauf:<\/p>\n<h3>Installation go<\/h3>\n<p>Als erstes muss auf dem armbian go installiert werden:<\/p>\n<ul>\n<li>Suche auf https:\/\/golang.org\/dl\/ die <a href=\"https:\/\/go.dev\/dl\/go1.18.2.linux-armv6l.tar.gz\" target=\"_blank\" rel=\"noopener\">ARMv6 Version<\/a><\/li>\n<\/ul>\n<pre>mkdir ~\/src &amp;&amp; cd ~\/src \r\nwget https:\/\/dl.google.com\/go\/&lt;version&gt;.tar.gz<\/pre>\n<ul>\n<li>Entpacken<\/li>\n<\/ul>\n<pre>sudo tar -C \/usr\/local -xzf &lt;version&gt;.tar.gz \r\nrm &lt;version&gt;.tar.gz<\/pre>\n<ul>\n<li>Go konfigurieren<\/li>\n<\/ul>\n<pre>vi ~\/.profile<\/pre>\n<p>folgenes hinzuf\u00fcgen:<\/p>\n<pre>PATH=$PATH:\/usr\/local\/go\/bin\r\nGOPATH=$HOME\/go<\/pre>\n<ul>\n<li>Update shell:<\/li>\n<\/ul>\n<pre>source ~\/.profile<\/pre>\n<ul>\n<li>Test ob alles ok ist<\/li>\n<\/ul>\n<pre>go version<\/pre>\n<h3>Influxdb aus github ziehen und compilieren<\/h3>\n<p>Folgende Instruktionen ausf\u00fchren =&gt; Achtung! Beim checkout die korrekte influx-version ziehen, also jene, die aktuell \u00fcber die Packet-Installation installiert und dann auf hold gesetzt wurde. Bei mir ist das Version 1.8.6.<\/p>\n<pre>git clone https:\/\/github.com\/simonvetter\/influxdb.git\r\n<span class=\"pl-c1\">cd<\/span> influxdb\r\ngit checkout origin\/1.8.6+big_db_32bit\r\nmkdir build\r\n<span class=\"pl-c\"># target 32-bit ARM architectures, use GOARCH=386 for 32-bit Intel\/AMD<\/span>\r\n<span class=\"pl-k\">export<\/span> GOARCH=arm\r\ngo build -o build\/influx_stress cmd\/influx_stress\/<span class=\"pl-k\">*<\/span>.go\r\ngo build -o build\/influx_tools cmd\/influx_tools\/<span class=\"pl-k\">*<\/span>.go\r\ngo build -o build\/influx_inspect cmd\/influx_inspect\/<span class=\"pl-k\">*<\/span>.go\r\ngo build -o build\/influxd cmd\/influxd\/main.go\r\ngo build -o build\/influx cmd\/influx\/main.go<\/pre>\n<p>Nun befinden sich die 32-bit binaries im build-verzeichnis:<\/p>\n<pre>cd ~\/influxdb\/build<\/pre>\n<p>Als n\u00e4chstes die &#8222;alten&#8220; binaries backupen (sicher ist sicher)<\/p>\n<pre>mkdir ~\/influxbackup-binaries\r\nsudo cp \/usr\/bin\/influx* ~\/influxbackup-binaries\/<\/pre>\n<p>Nun die neuen binaries \u00fcber die alten kopieren<\/p>\n<pre>sudo service influxdb stop\r\ncd ~\/influxdb\/build\r\nsudo mv * \/usr\/bin\/\r\nsudo chown root:root \/usr\/bin\/influx*<\/pre>\n<p>Jetzt die Konfig so anpassen, dass die DB nicht mehr ins Memory gezwungen wird:<\/p>\n<pre>sudo vi \/etc\/influxdb\/influxdb.conf<\/pre>\n<pre><span class=\"pl-s\">[data]<\/span>\r\n    <span class=\"pl-s\">tsm-use-seek = true <\/span><span class=\"pl-c\"># use the seek accessor (what this whole PR is about)<\/span>\r\n    <span class=\"pl-s\">index-version = \"tsi1\" <\/span><span class=\"pl-c\"># use on-disk index files instead of keeping them in-memory<\/span>\r\n    <span class=\"pl-s\">max-concurrent-compactions = 1 <\/span><span class=\"pl-c\"># avoid running multiple compactions at once<\/span>\r\n\r\n<span class=\"pl-s\">[coordinator]<\/span>\r\n  <span class=\"pl-s\">query-timeout = \"60s\" <\/span><span class=\"pl-c\"># kill runaway queries (you may want to adjust the value depending on your hardware and query set)<\/span><\/pre>\n<p>Jetzt System restarten<\/p>\n<pre>sudo shutdown -r now<\/pre>\n<p>Ab sofort sollte die Influx-DB nicht mehr so Speicherhungrig sein und die Systemtemperatur hat sich bei mir auch bei rund 48\u00b0 eingependelt. Der &#8222;cannot allocate memory&#8220; Fehler ist seit dem nicht mehr aufgetaucht =&gt; check \ud83d\ude42<\/p>\n<h1>Grafana installieren (OSS Release)<\/h1>\n<h2>Installation<\/h2>\n<p>Installation wird auch hier beschrieben: <a href=\"https:\/\/grafana.com\/docs\/grafana\/latest\/installation\/debian\/\" target=\"_blank\" rel=\"noopener\">https:\/\/grafana.com\/docs\/grafana\/latest\/installation\/debian\/<\/a><\/p>\n<pre>sudo apt-get install -y apt-transport-https \r\n\r\nsudo apt-get install -y software-properties-common wget \r\n\r\nwget -q -O - https:\/\/packages.grafana.com\/gpg.key | sudo apt-key add -\r\n\r\necho \"deb https:\/\/packages.grafana.com\/oss\/deb stable main\" | sudo tee -a \/etc\/apt\/sources.list.d\/grafana.list\r\n\r\nsudo apt-get update \r\n\r\nsudo apt-get install grafana<\/pre>\n<p>&nbsp;<\/p>\n<h2>Konfiguration<\/h2>\n<p>Die Configuration von Grafana findet man hier<\/p>\n<p>Ich hatte nach einem Upgrade von Version 7.5 auf Version 8 das Problem (If you&#8217;re seeing this Grafana has failed to load its application files), dass gewisse &#8222;Embedded-Browser&#8220; nicht mehr funktionierten. Deswegen verwende ich fix Version 7.5.10. Mit dieser gings noch&#8230;Daf\u00fcr musste ich aber ein Downgrade durchf\u00fchren und anschliessend das Paket auf &#8222;halten&#8220; setzen:<\/p>\n<pre>sudo apt-get install grafana=7.5.10\r\nsudo apt-mark hold grafana<\/pre>\n<pre>sudo vi \/etc\/grafana\/grafana.ini<\/pre>\n<pre># Grafana soll als eingebettetes Frame angezeigt werden k\u00f6nnen:\r\nallow_embedding = true<\/pre>\n<pre>[auth.anonymous]\r\n# enable anonymous access\r\nenabled = true\r\n\r\n# specify organization name that should be used for unauthenticated users\r\norg_name = Home\r\n\r\n# specify role for unauthenticated users\r\norg_role = Viewer\r\n\r\n# mask the Grafana version number for unauthenticated users\r\nhide_version = false<\/pre>\n<pre>[date_formats]\r\n# For information on what formatting patterns that are supported https:\/\/momentjs.com\/docs\/#\/displaying\/\r\n\r\n# Default system date format used in time range picker and other places where full time is displayed\r\nfull_date = DD-MM-YYYY HH:mm:ss\r\n\r\n# Used by graph and other places where we only show small intervals\r\ninterval_second = HH:mm:ss\r\ninterval_minute = HH:mm\r\ninterval_hour = DD\/MM HH:mm\r\ninterval_day = DD\/MM\r\ninterval_month = MM-YYYY\r\ninterval_year = YYYY<\/pre>\n<pre>default_timezone = Europe\/Zurich<\/pre>\n<h1>Telegraf installieren<\/h1>\n<p>Telegraf wird benutzt um die Modbus-Daten abzufragen und nach influxdb zu senden.<\/p>\n<pre>wget -qO- https:\/\/repos.influxdata.com\/influxdb.key | sudo apt-key add -\r\n\r\nsource \/etc\/lsb-release  \/ ODER source \/etc\/armbian-release\r\n\r\necho \"deb https:\/\/repos.influxdata.com\/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable\" | sudo tee \/etc\/apt\/sources.list.d\/influxdb.list<\/pre>\n<pre>sudo apt-get update &amp;&amp; sudo apt-get install telegraf\r\nsudo service telegraf start<\/pre>\n<p>Damit l\u00e4uft telegraf zum aktuellen Zeitpunkt mit Version 1.20.0. Diese Version scheint mit den Versionen von Grafana und Influxdb sehr gut zu funktionieren (nach rund 2 Monaten Test). Ich halte deswegen auch hier an dieser Version fest:<\/p>\n<pre>sudo apt-mark hold telegraf<\/pre>\n<h2>Influxdb als output plugin konfigurieren<\/h2>\n<p>DB und User auf influxdb erstellen<\/p>\n<pre>influx -username 'admin' -password '&lt;password&gt;'<\/pre>\n<pre>CREATE DATABASE \"telegraf\"\r\nCREATE USER \"telegraf\" WITH PASSWORD \"&lt;userpassword&gt;\"\r\nGRANT ALL ON \"telegraf\" TO \"telegraf\"<\/pre>\n<p>Konfig anpassen<\/p>\n<pre>sudo vi \/etc\/telegraf\/telegraf.conf<\/pre>\n<pre>[[outputs.influxdb]]\r\nurls = [\"http:\/\/127.0.0.1:8086\"] #influxdb und telegraf laufen auf dem selben server\r\ndatabase = \"telegraf\"\r\n## HTTP Basic Auth\r\nusername = \"telegraf\"\r\npassword = \"&lt;password&gt;\"<\/pre>\n<h2>Modbus als input plugin konfigurieren<\/h2>\n<pre>sudo vi \/etc\/telegraf\/telegraf.conf<\/pre>\n<p>Alle input Plugins (CPU, etc.) deaktivieren. Anschliessend Modubs konfigrieren:<\/p>\n<pre>[[inputs.modbus]]\r\nname = \"SE_PowerTagLink_F21\"\r\nslave_id = 150\r\ntimeout = \"5s\"\r\ncontroller = \"tcp:\/\/&lt;ip&gt;:502\"\r\nholding_registers = [\r\n{ name = \"PowerTag_Garage - Current C\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3003,3004]}\r\n]\r\n[[inputs.modbus]]\r\nname = \"SE_PowerTagLink_Hauszuleitung\"\r\nslave_id = 154\r\ntimeout = \"5s\"\r\ncontroller = \"tcp:\/\/&lt;ip&gt;:502\"\r\nholding_registers = [\r\n{ name = \"PowerTag_Hauszuleitung - Current A\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [2999,3000]},\r\n{ name = \"PowerTag_Hauszuleitung - Current B\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3001,3002]},\r\n{ name = \"PowerTag_Hauszuleitung - Current C\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3003,3004]},\r\n{ name = \"PowerTag_Hauszuleitung - Voltage A-N\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3027,3028]},\r\n{ name = \"PowerTag_Hauszuleitung - Voltage B-N\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3029,3030]},\r\n{ name = \"PowerTag_Hauszuleitung - Voltage C-N\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3031,3032]},\r\n{ name = \"PowerTag_Hauszuleitung - Voltage A-B\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3019,3020]},\r\n{ name = \"PowerTag_Hauszuleitung - Voltage B-C\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3021,3022]},\r\n{ name = \"PowerTag_Hauszuleitung - Voltage C-A\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3023,3024]},\r\n{ name = \"PowerTag_Hauszuleitung - Active Power\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3059,3060]},\r\n{ name = \"PowerTag_Hauszuleitung - Power Factor\", byte_order = \"ABCD\", data_type = \"FLOAT32-IEEE\", scale=1.0, address = [3083,3084]},\r\n{ name = \"PowerTag_Hauszuleitung - Active Energy No reset\", byte_order = \"ABCDEFGH\", data_type = \"INT64\", scale=1.0, address = [3203,3204,3205,3206]},\r\n{ name = \"PowerTag_Hauszuleitung - Active Energy Resetable\", byte_order = \"ABCDEFGH\", data_type = \"INT64\", scale=1.0, address = [3255,3256,3257,3258]},\r\n{ name = \"PowerTag_Hauszuleitung - Active Energy Write Value\", byte_order = \"ABCDEFGH\", data_type = \"INT64\", scale=1.0, address = [3259,3260,3261,3262]}\r\n]<\/pre>\n<h1>Chronograf installieren<\/h1>\n<p>Chronograf eignet sich als Query-GUI auf die Influxdb und bietet GUI Unterst\u00fctzung beim erstellen von InfluxQL und Flux Queries<\/p>\n<pre>sudo apt-get install chronograf<\/pre>\n<p>Anschliessend Browser URL von chronograf \u00f6ffnen<\/p>\n<pre>http:\/\/grafana.home.arpa:8888\/<\/pre>\n<h1>Commands<\/h1>\n<p>Zeige influxdb version<\/p>\n<pre>influxd version<\/pre>\n<p>Login<\/p>\n<pre>influx -username &lt;username&gt; -password &lt;password&gt;<\/pre>\n<p>Benutzer anzeigen<\/p>\n<pre>show users<\/pre>\n<p>Zeige alle DBs<\/p>\n<pre>show databases<\/pre>\n<p>Zeitserie l\u00f6schen (Beispiel)<\/p>\n<pre>DROP SERIES FROM \"rawdata\" WHERE \"name\" = 'XTH_U01-01 humidity'<\/pre>\n<p>&nbsp;<\/p>\n<h1>Links<\/h1>\n<ul>\n<li><a href=\"https:\/\/community.influxdata.com\/t\/regular-issues-compacting-tsi-files-very-high-load-cannot-allocate-memory\/22206\" target=\"_blank\" rel=\"noopener\">https:\/\/community.influxdata.com\/t\/regular-issues-compacting-tsi-files-very-high-load-cannot-allocate-memory\/22206<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/influxdata\/influxdb\/pull\/12362#issuecomment-953126323\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/influxdata\/influxdb\/pull\/12362#issuecomment-953126323<\/a><\/li>\n<li><a href=\"https:\/\/www.jeremymorgan.com\/tutorials\/raspberry-pi\/install-go-raspberry-pi\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.jeremymorgan.com\/tutorials\/raspberry-pi\/install-go-raspberry-pi\/<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installation auf einem Armbian, 21.02.3 Focal Installation Influxdb Installation wird auch hier beschrieben: https:\/\/docs.influxdata.com\/influxdb\/v1.8\/introduction\/install\/ sudo wget -qO- https:\/\/repos.influxdata.com\/influxdb.key | gpg &#8211;dearmor &gt; \/etc\/apt\/trusted.gpg.d\/influxdb.gpg export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) sudo echo &#8222;deb [signed-by=\/etc\/apt\/trusted.gpg.d\/influxdb.gpg] https:\/\/repos.influxdata.com\/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable&#8220; &gt; sudo \/etc\/apt\/sources.list.d\/influxdb.list Influxdb installieren sudo apt-get update &amp;&amp; sudo apt-get install influxdb sudo service influxdb start Version auf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","footnotes":""},"categories":[10],"tags":[],"class_list":["post-1471","post","type-post","status-publish","format-standard","hentry","category-techdocs"],"modified_by":"ralph","_links":{"self":[{"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/posts\/1471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1471"}],"version-history":[{"count":38,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/posts\/1471\/revisions"}],"predecessor-version":[{"id":1585,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=\/wp\/v2\/posts\/1471\/revisions\/1585"}],"wp:attachment":[{"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dev-metal.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}