Skip to content

Commit

Permalink
Merge pull request #1555 from shyim/add-support-for-tideways
Browse files Browse the repository at this point in the history
add tideways service
  • Loading branch information
domenkozar authored Nov 20, 2024
2 parents 7ce658c + 3f6420b commit 6ff1e5f
Show file tree
Hide file tree
Showing 6 changed files with 384 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/individual-docs/services/tideways.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


[comment]: # (Please add your documentation on top of this line)

@AUTOGEN_OPTIONS@
155 changes: 155 additions & 0 deletions docs/reference/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -70994,6 +70994,161 @@ Port for the Web UI.



## services.tideways.enable



Whether to enable Tideways profiler daemon

It automatically installs Tideways PHP extension.
.



*Type:*
boolean



*Default:*
` false `



*Example:*
` true `

*Declared by:*
- [https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix](https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix)



## services.tideways.apiKey



Sets the API-Key for the Tideways Daemon.



*Type:*
string



*Default:*
` "" `

*Declared by:*
- [https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix](https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix)



## services.tideways.cliPackage



Which package of tideways-cli to use



*Type:*
package



*Default:*
` pkgs.tideways-cli `

*Declared by:*
- [https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix](https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix)



## services.tideways.daemonPackage



Which package of tideways-daemon to use



*Type:*
package



*Default:*
` pkgs.tideways-daemon `

*Declared by:*
- [https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix](https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix)



## services.tideways.environment



Sets the Environment for Tideways Daemon.



*Type:*
string



*Default:*
` "devenv" `

*Declared by:*
- [https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix](https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix)



## services.tideways.profilingSpace



When the profiling space is enabled, the default monitoring will be disabled.



*Type:*
boolean



*Default:*
` true `

*Declared by:*
- [https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix](https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix)



## services.tideways.service



Sets the Service name for Tideways Daemon.



*Type:*
string



*Default:*
` "" `

*Declared by:*
- [https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix](https://github.com/cachix/devenv/blob/main/src/modules/services/tideways.nix)



## services.trafficserver.enable


Expand Down
1 change: 1 addition & 0 deletions docs/services-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
services.redis.enable = true;
services.sqld.enable = true;
services.temporal.enable = true;
services.tideways.enable = true;
services.trafficserver.enable = true;
services.typesense.enable = true;
services.varnish.enable = true;
Expand Down
134 changes: 134 additions & 0 deletions docs/supported-services/tideways.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
[comment]: # (Do not edit this file as it is autogenerated. Go to docs/individual-docs if you want to make edits.)


[comment]: # (Please add your documentation on top of this line)

## services\.tideways\.enable



Whether to enable Tideways profiler daemon

It automatically installs Tideways PHP extension\.
\.



*Type:*
boolean



*Default:*
` false `



*Example:*
` true `



## services\.tideways\.apiKey

Sets the API-Key for the Tideways Daemon\.



*Type:*
string



*Default:*
` "" `



## services\.tideways\.cliPackage



Which package of tideways-cli to use



*Type:*
package



*Default:*
` pkgs.tideways-cli `



## services\.tideways\.daemonPackage



Which package of tideways-daemon to use



*Type:*
package



*Default:*
` pkgs.tideways-daemon `



## services\.tideways\.environment



Sets the Environment for Tideways Daemon\.



*Type:*
string



*Default:*
` "devenv" `



## services\.tideways\.profilingSpace



When the profiling space is enabled, the default monitoring will be disabled\.



*Type:*
boolean



*Default:*
` true `



## services\.tideways\.service



Sets the Service name for Tideways Daemon\.



*Type:*
string



*Default:*
` "" `
3 changes: 2 additions & 1 deletion src/modules/languages/php.nix
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ in

languages.php.extensions = lib.optionals config.services.rabbitmq.enable [ "amqp" ]
++ lib.optionals config.services.redis.enable [ "redis" ]
++ lib.optionals config.services.blackfire.enable [ "blackfire" ];
++ lib.optionals config.services.blackfire.enable [ "blackfire" ]
++ lib.optionals config.services.tideways.enable [ "tideways" ];

languages.php.ini = ''
${lib.optionalString config.services.mysql.enable ''
Expand Down
Loading

0 comments on commit 6ff1e5f

Please sign in to comment.